diff options
-rw-r--r-- | code/unix/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/code/unix/Makefile b/code/unix/Makefile index aa10ad3..ff72f32 100644 --- a/code/unix/Makefile +++ b/code/unix/Makefile @@ -535,15 +535,15 @@ DO_WINDRES=$(WINDRES) -i $< -o $@ default:build_release -debug: tools build_debug -release: tools build_release +debug: build_debug +release: build_release build_debug: B=$(BD) -build_debug: makedirs +build_debug: makedirs tools $(MAKE) targets B=$(BD) CFLAGS="$(CFLAGS) $(DEBUG_CFLAGS) $(DEPEND_CFLAGS)" build_release: B=$(BR) -build_release: makedirs +build_release: makedirs tools $(MAKE) targets B=$(BR) CFLAGS="$(CFLAGS) $(RELEASE_CFLAGS) $(DEPEND_CFLAGS)" #Build both debug and release builds |