aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-06-02 15:26:30 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-06-02 15:26:30 +0000
commitf258d5ed829866e2bf8716dea3d1efcd8ba3d608 (patch)
tree08e69f361fe3973e51f6a33d8ee85ecda419fdc0
parent85200d819c27da240ee9a16516676f2b98258952 (diff)
downloadioquake3-aero-f258d5ed829866e2bf8716dea3d1efcd8ba3d608.tar.gz
ioquake3-aero-f258d5ed829866e2bf8716dea3d1efcd8ba3d608.zip
* Assumptions are already made that the compiler used is GCC, so it seems silly
to make per-platform exceptions in order to make the IS_GCC test work. Instead just rely on $(CC) being set by the system (i.e. make) and it being GCC. If this causes problems on any platforms please discuss it on the mailing list or IRC git-svn-id: svn://svn.icculus.org/quake3/trunk@1095 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r--Makefile16
1 files changed, 1 insertions, 15 deletions
diff --git a/Makefile b/Makefile
index 057e69d..bd6bea7 100644
--- a/Makefile
+++ b/Makefile
@@ -51,18 +51,6 @@ ifndef ARCH
ARCH=$(COMPILE_ARCH)
endif
-ifndef CC
- CC=gcc
-endif
-
-ifeq ($(PLATFORM),sunos)
- # GNU make on SunOS defines CC as 'cc'. 'grep -q' is not an option on SunOS.
- CC=gcc
- CC_IS_GCC=1
-else
- CC_IS_GCC=$(shell $(CC) --version | grep -q "(GCC)" && echo 1)
-endif
-
ifeq ($(ARCH),powerpc)
ARCH=ppc
endif
@@ -775,9 +763,7 @@ ifeq ($(USE_LOCAL_HEADERS),1)
endif
ifeq ($(GENERATE_DEPENDENCIES),1)
- ifeq ($(CC_IS_GCC),1)
- DEPEND_CFLAGS=-MMD
- endif
+ DEPEND_CFLAGS=-MMD
endif
ifeq ($(USE_SVN),1)