- Commit
- b530d53fffc3703f37881b7510b4ea5575ac17f4
- Parent
- 343e9b35604eee88300645e4d79a8e1d18019e00
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Makefile: Added separate 'debug' target, 'all' does Release build.
My personal build of CMark ✏️
Makefile: Added separate 'debug' target, 'all' does Release build.
1 file changed, 6 insertions, 4 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | Makefile | 10 | 6 | 4 |
diff --git a/Makefile b/Makefile @@ -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: