mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-24 05:01:40 +00:00
* Split off DEPEND_CFLAGS so -MMD isn't used when doing library checks
This commit is contained in:
parent
39ab3294bf
commit
cadaaffcce
1 changed files with 7 additions and 3 deletions
10
Makefile
10
Makefile
|
@ -713,7 +713,9 @@ ifeq ($(USE_LOCAL_HEADERS),1)
|
|||
endif
|
||||
|
||||
ifeq ($(GENERATE_DEPENDENCIES),1)
|
||||
BASE_CFLAGS += -MMD
|
||||
DEPEND_CFLAGS = -MMD
|
||||
else
|
||||
DEPEND_CFLAGS =
|
||||
endif
|
||||
|
||||
ifeq ($(USE_SVN),1)
|
||||
|
@ -783,10 +785,12 @@ default: release
|
|||
all: debug release
|
||||
|
||||
debug:
|
||||
@$(MAKE) targets B=$(BD) CFLAGS="$(CFLAGS) $(DEBUG_CFLAGS)" V=$(V)
|
||||
@$(MAKE) targets B=$(BD) CFLAGS="$(CFLAGS) $(DEPEND_CFLAGS) \
|
||||
$(DEBUG_CFLAGS)" V=$(V)
|
||||
|
||||
release:
|
||||
@$(MAKE) targets B=$(BR) CFLAGS="$(CFLAGS) $(RELEASE_CFLAGS)" V=$(V)
|
||||
@$(MAKE) targets B=$(BR) CFLAGS="$(CFLAGS) $(DEPEND_CFLAGS) \
|
||||
$(RELEASE_CFLAGS)" V=$(V)
|
||||
|
||||
# Create the build directories, check libraries and print out
|
||||
# an informational message, then start building
|
||||
|
|
Loading…
Reference in a new issue