From 1e1a96d7607ac77759070dcac5e0cb2b72c4ddaa Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 10 Nov 2014 13:41:51 -0800 Subject: Added BUILDTYPE to Makefile, default to Release. Previously we weren't building with release flags. --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7b1773d..23d498f 100644 --- a/Makefile +++ b/Makefile @@ -7,14 +7,15 @@ SITE=_site BUILDDIR=build FUZZCHARS?=2000000 # for fuzztest PROG?=$(BUILDDIR)/src/cmark +BUILDTYPE?=Release .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 ..; make + mkdir -p $(BUILDDIR); cd build; cmake .. -DCMAKE_BUILD_TYPE=$(BUILDTYPE); make install: check - mkdir -p $(BUILDDIR); cd build; cmake ..; make install + mkdir -p $(BUILDDIR); cd build; cmake .. -DCMAKE_BUILD_TYPE=$(BUILDTYPE); make install clean: rm -rf $(BUILDDIR) -- cgit v1.2.3