mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-27 22:42:09 +00:00
* Fix dependency generation when GCC is invoked using just "cc"
This commit is contained in:
parent
9030f1bdb1
commit
0f679da4c7
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue