aboutsummaryrefslogtreecommitdiffstats
path: root/code/unix/Makefile
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-05 18:13:34 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-05 18:13:34 +0000
commit51a315e5505fba9ed2292f0542c81f9d7c2ed9a0 (patch)
treef66d81a8df45686458d97e70fdfa9ffaa5e93484 /code/unix/Makefile
parent7fe2b280297f57c03b366e445920940142d083c4 (diff)
downloadioquake3-aero-51a315e5505fba9ed2292f0542c81f9d7c2ed9a0.tar.gz
ioquake3-aero-51a315e5505fba9ed2292f0542c81f9d7c2ed9a0.zip
* A couple of small Makefile fixes
git-svn-id: svn://svn.icculus.org/quake3/trunk@142 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/unix/Makefile')
-rw-r--r--code/unix/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/code/unix/Makefile b/code/unix/Makefile
index 0418b4b..42fb7d8 100644
--- a/code/unix/Makefile
+++ b/code/unix/Makefile
@@ -1425,7 +1425,7 @@ clean-debug:
$(MAKE) clean2 B=$(BD) CFLAGS="$(DEBUG_CFLAGS)"
clean-release:
- $(MAKE) clean2 B=$(BR) CFLAGS="$(DEBUG_CFLAGS)"
+ $(MAKE) clean2 B=$(BR) CFLAGS="$(RELEASE_CFLAGS)"
distclean: clean
$(MAKE) -C ../tools/asm clean uninstall
@@ -1435,4 +1435,8 @@ distclean: clean
# DEPENDENCIES
#############################################################################
--include $(shell find -name "*.d")
+D_FILES=$(shell find -name "*.d")
+
+ifneq ($(strip $(D_FILES)),)
+ include $(D_FILES)
+endif