Browse Source

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.
v0.7.4-release
Ben Noordhuis 13 years ago
parent
commit
f89beaf3ac
  1. 4
      Makefile

4
Makefile

@ -3,10 +3,12 @@
BUILDTYPE ?= Release BUILDTYPE ?= Release
PYTHON ?= python 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) ifeq ($(BUILDTYPE),Release)
all: out/Makefile node all: out/Makefile node
else else
all: out/Makefile node_g all: out/Makefile node node_g
endif endif
# The .PHONY is needed to ensure that we recursively use the out/Makefile # The .PHONY is needed to ensure that we recursively use the out/Makefile

Loading…
Cancel
Save