Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2012-01-27 02:45:16 +0400
committerBen Noordhuis <info@bnoordhuis.nl>2012-01-27 02:49:57 +0400
commitf89beaf3ac80b9f2129f7a388c1aca2538ce198a (patch)
tree28a135ea8f2cd27f77ea110dcfecb508bb805834 /Makefile
parentc80abfa0e4b5ae234e53a2fc088eb8344a182820 (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--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 33c9e184664..0d191f7db8d 100644
--- a/Makefile
+++ b/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