diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-09-14 23:07:28 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-09-14 23:07:28 +0000 |
commit | 531e036c25ffa5d527273d1c11c21dcc2939dd8b (patch) | |
tree | db5eef6588136e7e41b1ffb5cac2d7e7e641a873 /Makefile | |
parent | c495ce6073724d0680c380f5dd0b3729a7b79514 (diff) | |
download | ioquake3-aero-531e036c25ffa5d527273d1c11c21dcc2939dd8b.tar.gz ioquake3-aero-531e036c25ffa5d527273d1c11c21dcc2939dd8b.zip |
* Split off DEPEND_CFLAGS so -MMD isn't used when doing library checks
git-svn-id: svn://svn.icculus.org/quake3/trunk@1180 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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 |