mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 14:52:00 +00:00
fix parallel build - gnu make specific syntax?
This commit is contained in:
parent
7b6c3a3f7c
commit
cb753845ae
1 changed files with 5 additions and 3 deletions
|
@ -361,16 +361,18 @@ default:build_release
|
||||||
debug: build_debug
|
debug: build_debug
|
||||||
release: build_release
|
release: build_release
|
||||||
|
|
||||||
build_debug:
|
build_debug: B=$(BD)
|
||||||
|
build_debug: makedirs
|
||||||
$(MAKE) targets B=$(BD) CFLAGS="$(DEBUG_CFLAGS)"
|
$(MAKE) targets B=$(BD) CFLAGS="$(DEBUG_CFLAGS)"
|
||||||
|
|
||||||
build_release:
|
build_release: B=$(BR)
|
||||||
|
build_release: makedirs
|
||||||
$(MAKE) targets B=$(BR) CFLAGS="$(RELEASE_CFLAGS)"
|
$(MAKE) targets B=$(BR) CFLAGS="$(RELEASE_CFLAGS)"
|
||||||
|
|
||||||
#Build both debug and release builds
|
#Build both debug and release builds
|
||||||
all:build_debug build_release
|
all:build_debug build_release
|
||||||
|
|
||||||
targets:makedirs $(TARGETS)
|
targets: $(TARGETS)
|
||||||
|
|
||||||
makedirs:
|
makedirs:
|
||||||
@if [ ! -d $(B) ];then mkdir $(B);fi
|
@if [ ! -d $(B) ];then mkdir $(B);fi
|
||||||
|
|
Loading…
Reference in a new issue