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
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

Loading…
Cancel
Save