summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 29cd02a..a6d9a90 100644
--- a/Makefile
+++ b/Makefile
@@ -2,15 +2,23 @@ clean:
2 make -C src clean 2 make -C src clean
3 cd src; phpize --clean 3 cd src; phpize --clean
4 4
5release:
6 cd src; phpize
7 cd src; ./configure --enable-snuffleupagus
8 make -C src
9
10install: release
11 make -C install
12
5debug: 13debug:
6 cd src; phpize 14 cd src; phpize
7 export CFLAGS="-Wall -Wextra -g3 -ggdb -O1 -g -Wno-unused-function"; cd src; ./configure --enable-snuffleupagus --enable-debug 15 export CFLAGS="-g3 -ggdb -O1 -g"; cd src; ./configure --enable-snuffleupagus --enable-debug
8 make -C src 16 make -C src
9 TEST_PHP_ARGS='-q' REPORT_EXIT_STATUS=1 make -C src test 17 TEST_PHP_ARGS='-q' REPORT_EXIT_STATUS=1 make -C src test
10 18
11coverage: 19coverage:
12 cd src; phpize 20 cd src; phpize
13 export CFLAGS="--coverage"; cd src; ./configure --enable-snuffleupagus --enable-coverage 21 cd src; ./configure --enable-snuffleupagus --enable-coverage
14 make -C src 22 make -C src
15 rm -Rf src/COV.html 23 rm -Rf src/COV.html
16 TEST_PHP_ARGS='-q' REPORT_EXIT_STATUS=1 make -C src test 24 TEST_PHP_ARGS='-q' REPORT_EXIT_STATUS=1 make -C src test