Skip to content
Browse files

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.
  • Loading branch information...
1 parent c80abfa commit f89beaf3ac80b9f2129f7a388c1aca2538ce198a @bnoordhuis bnoordhuis committed Jan 26, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 Makefile
View
4 Makefile
@@ -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

0 comments on commit f89beaf

Please sign in to comment.
Something went wrong with that request. Please try again.