diff options
Diffstat (limited to 'Makefile')
| -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 |
