r86 - trunk/code/unix
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Sep 7 07:44:13 EDT 2005
Author: ludwig
Date: 2005-09-07 07:44:13 -0400 (Wed, 07 Sep 2005)
New Revision: 86
Modified:
trunk/code/unix/Makefile
Log:
fix parallel build - gnu make specific syntax?
Modified: trunk/code/unix/Makefile
===================================================================
--- trunk/code/unix/Makefile 2005-09-07 06:03:42 UTC (rev 85)
+++ trunk/code/unix/Makefile 2005-09-07 11:44:13 UTC (rev 86)
@@ -361,16 +361,18 @@
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
More information about the quake3-commits
mailing list