Makefile - default to Debug for make target

This commit is contained in:
John MacFarlane 2014-11-10 14:07:02 -08:00
Родитель 500c62bd38
Коммит b8acbe96ba
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -7,7 +7,7 @@ SITE=_site
BUILDDIR=build
FUZZCHARS?=2000000 # for fuzztest
PROG?=$(BUILDDIR)/src/cmark
BUILDTYPE?=Release
BUILDTYPE?=Debug
.PHONY: all spec leakcheck clean fuzztest dingus upload jshint test testjs benchjs update-site upload-site check
@ -15,7 +15,7 @@ all: check man/man1/cmark.1
mkdir -p $(BUILDDIR); cd build; cmake .. -DCMAKE_BUILD_TYPE=$(BUILDTYPE); make
install: check
mkdir -p $(BUILDDIR); cd build; cmake .. -DCMAKE_BUILD_TYPE=$(BUILDTYPE); make install
mkdir -p $(BUILDDIR); cd build; cmake .. -DCMAKE_BUILD_TYPE=Release; make install
clean:
rm -rf $(BUILDDIR)