Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
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...
bnoordhuis committed Jan 26, 2012
1 parent c80abfa commit f89beaf3ac80b9f2129f7a388c1aca2538ce198a
Showing with 3 additions and 1 deletion.
  1. +3 −1 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.
You can’t perform that action at this time.