summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9c017c3..e8380b5 100755
--- a/Makefile
+++ b/Makefile
@@ -2,8 +2,9 @@
# See src/*.mak for user-definable settings
-POSIX = src/posix
+GNU = src/gnu
PCRE = src/pcre
+POSIX = src/posix
ONIG = src/oniguruma
all: build test
@@ -14,6 +15,9 @@ test: test_pcre test_posix test_onig
clean: clean_pcre clean_posix clean_onig
+build_gnu:
+ make -C $(GNU) -f rex_gnu.mak
+
build_pcre:
make -C $(PCRE) -f rex_pcre.mak
@@ -23,6 +27,9 @@ build_posix:
build_onig:
make -C $(ONIG) -f rex_onig.mak
+test_gnu:
+ cd test && lua ./runtest.lua -d../$(PCRE) gnu
+
test_pcre:
cd test && lua ./runtest.lua -d../$(PCRE) pcre
@@ -32,6 +39,9 @@ test_posix:
test_onig:
cd test && lua ./runtest.lua -d../$(ONIG) onig
+clean_gnu:
+ make -C $(PCRE) -f rex_gnu.mak clean
+
clean_pcre:
make -C $(PCRE) -f rex_pcre.mak clean
@@ -41,5 +51,6 @@ clean_posix:
clean_onig:
make -C $(ONIG) -f rex_onig.mak clean
-.PHONY: all build test clean build_pcre test_pcre clean_pcre build_posix \
+.PHONY: all build test clean build_gnu test_gnu clean_gnu \
+ build_pcre test_pcre clean_pcre build_posix \
test_posix clean_posix build_onig test_onig clean_onig