mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue