aboutsummaryrefslogtreecommitdiffstats
path: root/code/unix
diff options
context:
space:
mode:
authorludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-09-07 11:44:13 +0000
committerludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-09-07 11:44:13 +0000
commite3f715468faf651b9508fde74e94a9de538d6f20 (patch)
treef1dfab4922a42abe948a6145d6bab7098d68ce6a /code/unix
parent051aec97c5ca0088a1d66c9814a9e0d03269df5c (diff)
downloadioquake3-aero-e3f715468faf651b9508fde74e94a9de538d6f20.tar.gz
ioquake3-aero-e3f715468faf651b9508fde74e94a9de538d6f20.zip
fix parallel build - gnu make specific syntax?
git-svn-id: svn://svn.icculus.org/quake3/trunk@86 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/unix')
-rw-r--r--code/unix/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/code/unix/Makefile b/code/unix/Makefile
index d2d6ab1..296253d 100644
--- a/code/unix/Makefile
+++ b/code/unix/Makefile
@@ -361,16 +361,18 @@ default:build_release
debug: build_debug
release: build_release
-build_debug:
+build_debug: B=$(BD)
+build_debug: makedirs
$(MAKE) targets B=$(BD) CFLAGS="$(DEBUG_CFLAGS)"
-build_release:
+build_release: B=$(BR)
+build_release: makedirs
$(MAKE) targets B=$(BR) CFLAGS="$(RELEASE_CFLAGS)"
#Build both debug and release builds
all:build_debug build_release
-targets:makedirs $(TARGETS)
+targets: $(TARGETS)
makedirs:
@if [ ! -d $(B) ];then mkdir $(B);fi