diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2012-01-27 02:45:16 +0400 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-01-27 02:49:57 +0400 |
commit | f89beaf3ac80b9f2129f7a388c1aca2538ce198a (patch) | |
tree | 28a135ea8f2cd27f77ea110dcfecb508bb805834 /Makefile | |
parent | c80abfa0e4b5ae234e53a2fc088eb8344a182820 (diff) |
build: compile release build too if BUILDTYPE=Debug
It's backwards compatible with the old waf build system. If you want to compile
just the debug build, run `make -C out BUILDTYPE=Debug` instead.
Fixes #2615.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -3,10 +3,12 @@ BUILDTYPE ?= Release PYTHON ?= python +# BUILDTYPE=Debug builds both release and debug builds. If you want to compile +# just the debug build, run `make -C out BUILDTYPE=Debug` instead. ifeq ($(BUILDTYPE),Release) all: out/Makefile node else -all: out/Makefile node_g +all: out/Makefile node node_g endif # The .PHONY is needed to ensure that we recursively use the out/Makefile |