aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-07-05 22:34:23 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-07-05 22:34:23 +0000
commit30a59a88ffc64710e1974fb3c93461a6f40a10e7 (patch)
tree3389edadc7c10a3ed795e91a79b24ce13aeacb46
parentcd82c923711556a2755b5ab97dfcee12ed5d7cd1 (diff)
downloadioquake3-aero-30a59a88ffc64710e1974fb3c93461a6f40a10e7.tar.gz
ioquake3-aero-30a59a88ffc64710e1974fb3c93461a6f40a10e7.zip
* (bug 3692) Makefile infinitely recurses if no targets are defined
git-svn-id: svn://svn.icculus.org/quake3/trunk@1404 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3ca4eb1..1c77256 100644
--- a/Makefile
+++ b/Makefile
@@ -964,7 +964,9 @@ targets: makedirs
echo " $$i"; \
done
@echo ""
+ifneq ($(TARGETS),)
@$(MAKE) $(TARGETS) V=$(V)
+endif
makedirs:
@if [ ! -d $(BUILD_DIR) ];then $(MKDIR) $(BUILD_DIR);fi