From 0c4dc8dfec3178f209580737689128b96e4922fd Mon Sep 17 00:00:00 2001 From: Mark Olsen Date: Tue, 20 Dec 2005 22:27:31 +0000 Subject: [PATCH] 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 --- engine/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/Makefile b/engine/Makefile index b3b42788e..ba15d2ad1 100644 --- a/engine/Makefile +++ b/engine/Makefile @@ -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