blob: e8380b510a7c327508131c729453202484052484 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Makefile for lrexlib
# See src/*.mak for user-definable settings
GNU = src/gnu
PCRE = src/pcre
POSIX = src/posix
ONIG = src/oniguruma
all: build test
build: build_pcre build_posix build_onig
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
build_posix:
make -C $(POSIX) -f rex_posix.mak
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
test_posix:
cd test && lua ./runtest.lua -d../$(POSIX) 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
clean_posix:
make -C $(POSIX) -f rex_posix.mak clean
clean_onig:
make -C $(ONIG) -f rex_onig.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
|