Makefile - default to Debug for make target
This commit is contained in:
Родитель
500c62bd38
Коммит
b8acbe96ba
4
Makefile
4
Makefile
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче