* Split off DEPEND_CFLAGS so -MMD isn't used when doing library checks

This commit is contained in:
Tim Angus committed 2007-09-14 23:07:28 +00:00
1 parent 39ab3294bf
commit cadaaffcce
1 file changed
+7 -3
+7 -3
View File
@@ -713,7 +713,9 @@ ifeq ($(USE_LOCAL_HEADERS),1)
endif endif
ifeq ($(GENERATE_DEPENDENCIES),1) ifeq ($(GENERATE_DEPENDENCIES),1)
BASE_CFLAGS += -MMD DEPEND_CFLAGS = -MMD
else
DEPEND_CFLAGS =
endif endif
ifeq ($(USE_SVN),1) ifeq ($(USE_SVN),1)
@@ -783,10 +785,12 @@ default: release
all: debug release all: debug release
debug: debug:
@$(MAKE) targets B=$(BD) CFLAGS="$(CFLAGS) $(DEBUG_CFLAGS)" V=$(V) @$(MAKE) targets B=$(BD) CFLAGS="$(CFLAGS) $(DEPEND_CFLAGS) \
$(DEBUG_CFLAGS)" V=$(V)
release: 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 # Create the build directories, check libraries and print out
# an informational message, then start building # an informational message, then start building