diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-05-29 21:51:37 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-05-29 21:51:37 +0000 |
commit | 5e1ad52b05f1fd7aa58391c216dc3e4ad5b94359 (patch) | |
tree | ec78b163e1de0d18f7adb482d48d83b8034edc1e | |
parent | 2b6a103f1e255c4b8fd863cdbc1c21e9aa4c0fa9 (diff) | |
download | ioquake3-aero-5e1ad52b05f1fd7aa58391c216dc3e4ad5b94359.tar.gz ioquake3-aero-5e1ad52b05f1fd7aa58391c216dc3e4ad5b94359.zip |
* Fix dependency generation when GCC is invoked using just "cc"
git-svn-id: svn://svn.icculus.org/quake3/trunk@1092 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -54,6 +54,7 @@ endif ifndef CC CC=gcc endif +CC_IS_GCC=$(shell $(CC) --version | grep -q "(GCC)" && echo 1) ifeq ($(ARCH),powerpc) ARCH=ppc @@ -767,7 +768,7 @@ ifeq ($(USE_LOCAL_HEADERS),1) endif ifeq ($(GENERATE_DEPENDENCIES),1) - ifeq ($(CC),gcc) + ifeq ($(CC_IS_GCC),1) DEPEND_CFLAGS=-MMD endif endif |