From c544ed8e8504883cdedf6057d012c94e6907c2b4 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sat, 12 Jan 2019 18:52:21 +0100 Subject: Add a compile-only target to the Makefile --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index bc39a8c..c0d65c2 100644 --- a/Makefile +++ b/Makefile @@ -13,10 +13,12 @@ release: ## compile with releases flags install: release ## compile and install snuffleupagus make -C src install -debug: ## compile a debug build +compile_debug: ## compile a debug build cd src; phpize export CFLAGS="-g3 -ggdb -O1 -g"; cd src; ./configure --enable-snuffleupagus --enable-debug make -C src + +debug: compile_debug ## compile and run a debug build TEST_PHP_ARGS='-q' REPORT_EXIT_STATUS=1 make -C src test coverage: ## compile snuffleugpaus, and run the testsuite with coverage -- cgit v1.3