diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2014-11-10 22:42:44 -0800 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2014-11-10 22:42:44 -0800 |
| commit | b530d53fffc3703f37881b7510b4ea5575ac17f4 (patch) | |
| tree | 8641f1f18d76179d72b0dc624c56e778356bd0cd | |
| parent | 343e9b35604eee88300645e4d79a8e1d18019e00 (diff) | |
Makefile: Added separate 'debug' target, 'all' does Release build.
| -rw-r--r-- | Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -7,14 +7,16 @@ SITE=_site BUILDDIR=build FUZZCHARS?=2000000 # for fuzztest PROG?=$(BUILDDIR)/src/cmark -BUILDTYPE?=Debug .PHONY: all spec leakcheck clean fuzztest dingus upload jshint test testjs benchjs update-site upload-site check -all: check man/man1/cmark.1 - mkdir -p $(BUILDDIR); cd build; cmake .. -DCMAKE_BUILD_TYPE=$(BUILDTYPE); make +all: check + mkdir -p $(BUILDDIR); cd build; cmake .. -DCMAKE_BUILD_TYPE=Release; make -install: check +debug: check + mkdir -p $(BUILDDIR); cd build; cmake .. -DCMAKE_BUILD_TYPE=Debug; make + +install: check man/man1/cmark.1 mkdir -p $(BUILDDIR); cd build; cmake .. -DCMAKE_BUILD_TYPE=Release; make install clean: |
