From e3f715468faf651b9508fde74e94a9de538d6f20 Mon Sep 17 00:00:00 2001 From: ludwig Date: Wed, 7 Sep 2005 11:44:13 +0000 Subject: fix parallel build - gnu make specific syntax? git-svn-id: svn://svn.icculus.org/quake3/trunk@86 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/unix/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'code') 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 -- cgit v1.2.3