diff options
| author | jvoisin | 2019-01-12 18:52:21 +0100 |
|---|---|---|
| committer | jvoisin | 2019-01-12 18:52:21 +0100 |
| commit | c544ed8e8504883cdedf6057d012c94e6907c2b4 (patch) | |
| tree | d026f732c7b4855b847922a1cfd0a050e463100f /Makefile | |
| parent | 8eab3136a7e839bd132184601a816bcbe90f2f48 (diff) | |
Add a compile-only target to the Makefile
Diffstat (limited to '')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -13,10 +13,12 @@ release: ## compile with releases flags | |||
| 13 | install: release ## compile and install snuffleupagus | 13 | install: release ## compile and install snuffleupagus |
| 14 | make -C src install | 14 | make -C src install |
| 15 | 15 | ||
| 16 | debug: ## compile a debug build | 16 | compile_debug: ## compile a debug build |
| 17 | cd src; phpize | 17 | cd src; phpize |
| 18 | export CFLAGS="-g3 -ggdb -O1 -g"; cd src; ./configure --enable-snuffleupagus --enable-debug | 18 | export CFLAGS="-g3 -ggdb -O1 -g"; cd src; ./configure --enable-snuffleupagus --enable-debug |
| 19 | make -C src | 19 | make -C src |
| 20 | |||
| 21 | debug: compile_debug ## compile and run a debug build | ||
| 20 | TEST_PHP_ARGS='-q' REPORT_EXIT_STATUS=1 make -C src test | 22 | TEST_PHP_ARGS='-q' REPORT_EXIT_STATUS=1 make -C src test |
| 21 | 23 | ||
| 22 | coverage: ## compile snuffleugpaus, and run the testsuite with coverage | 24 | coverage: ## compile snuffleugpaus, and run the testsuite with coverage |
