blob: 9c017c369b02ef3d4f90a219855cd60b796b2fb9 (
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
|
# Makefile for lrexlib
# See src/*.mak for user-definable settings
POSIX = src/posix
PCRE = src/pcre
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_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_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_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_pcre test_pcre clean_pcre build_posix \
test_posix clean_posix build_onig test_onig clean_onig
|