summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorshmuz <shmuz>2007-12-19 13:07:41 +0000
committershmuz <shmuz>2007-12-19 13:07:41 +0000
commitcd49240d44a0c9cc7a7e252c989ed9075645a06c (patch)
treee3e745535aaf04a28d4ea0ef3e048c6fcbdd04da /Makefile
parentdb1cc195ed7860aaf5e991498e775c821f410b4a (diff)
downloadlrexlib-cd49240d44a0c9cc7a7e252c989ed9075645a06c.tar.gz
separate PCRE and POSIX targets
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile21
1 files changed, 13 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 8b3b895..5b34829 100755
--- a/Makefile
+++ b/Makefile
@@ -2,20 +2,25 @@
# See src/*.mak for user-definable settings
-all: build test
+all: build_pcre test_pcre build_posix test_posix
-build:
+build_pcre:
make -C src -f rex_pcre.mak
+
+build_posix:
make -C src -f rex_posix.mak
- make -C src -f rex_tre.mak
-test:
- cd test && lua ./runtest.lua pcre posix tre
+test_pcre:
+ cd test && lua ./runtest.lua pcre
+
+test_posix:
+ cd test && lua ./runtest.lua posix
-clean:
+clean_pcre:
make -C src -f rex_pcre.mak clean
+
+clean_posix:
make -C src -f rex_posix.mak clean
- make -C src -f rex_tre.mak clean
+.PHONY: all build_pcre test_pcre build_posix test_posix clean_pcre clean_posix
-.PHONY: all test clean build