diff options
author | Reuben Thomas <rrt@sc3d.org> | 2010-07-30 17:56:00 +0100 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2010-07-30 17:56:00 +0100 |
commit | 2625dfc02485b383f0bbeb3cb76c1ae419b29217 (patch) | |
tree | 61c95aab26f3a41592c572bdf69a2e36719dbd3d /Makefile | |
parent | 73eca70a10332e65382b5fb13ad8f86e7524db85 (diff) | |
download | lrexlib-2625dfc02485b383f0bbeb3cb76c1ae419b29217.tar.gz |
Add TRE targets and add TRE and GNU targets to global targets.
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 19 |
1 files changed, 15 insertions, 4 deletions
@@ -6,14 +6,15 @@ GNU = src/gnu PCRE = src/pcre POSIX = src/posix ONIG = src/oniguruma +TRE = src/tre all: build test -build: build_pcre build_posix build_onig +build: build_gnu build_pcre build_posix build_onig build_tre -test: test_pcre test_posix test_onig +test: test_gnu test_pcre test_posix test_onig test_tre -clean: clean_pcre clean_posix clean_onig +clean: clean_gnu clean_pcre clean_posix clean_onig clean_tre build_gnu: make -C $(GNU) -f rex_gnu.mak @@ -27,6 +28,9 @@ build_posix: build_onig: make -C $(ONIG) -f rex_onig.mak +build_tre: + make -C $(TRE) -f rex_tre.mak + test_gnu: cd test && lua ./runtest.lua -d../$(GNU) gnu @@ -39,6 +43,9 @@ test_posix: test_onig: cd test && lua ./runtest.lua -d../$(ONIG) onig +test_tre: + cd test && lua ./runtest.lua -d../$(TRE) tre + clean_gnu: make -C $(GNU) -f rex_gnu.mak clean @@ -51,6 +58,10 @@ clean_posix: clean_onig: make -C $(ONIG) -f rex_onig.mak clean +clean_tre: + make -C $(TRE) -f rex_tre.mak clean + .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 + test_posix clean_posix build_onig test_onig clean_onig \ + build_tre clean_tre |