mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
Use the CC variable when guessing build type.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1725 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
1a844576a4
commit
0c4dc8dfec
1 changed files with 2 additions and 2 deletions
|
@ -10,10 +10,10 @@ BASE_DIR=.
|
|||
|
||||
|
||||
ifeq ($(FTE_TARGET),) #user didn't specify prefered target
|
||||
ifneq ($(shell gcc -v 2>&1 | grep mingw),)
|
||||
ifneq ($(shell $(CC) -v 2>&1 | grep mingw),)
|
||||
FTE_TARGET=win32
|
||||
endif
|
||||
ifneq ($(shell gcc -v 2>&1 | grep cygwin),)
|
||||
ifneq ($(shell $(CC) -v 2>&1 | grep cygwin),)
|
||||
FTE_TARGET=cygwin
|
||||
endif
|
||||
ifeq ($(FTE_TARGET),) #still not set
|
||||
|
|
Loading…
Reference in a new issue