Mercurial > hg > Applications > Grep
annotate regexParser/Makefile @ 209:959f8c00da17
fix charClassStackPop()
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 27 Dec 2015 18:57:05 +0900 |
parents | 2ec95755238e |
children | 4852bfa85db4 |
rev | line source |
---|---|
208
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
1 TARGET= regexParser test/ccMerge |
79
52da06c3f050
add printTree.cc & fix Makefile
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
78
diff
changeset
|
2 CFLAGS= -Wall -O0 -g |
52da06c3f050
add printTree.cc & fix Makefile
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
78
diff
changeset
|
3 CC= clang++ |
52da06c3f050
add printTree.cc & fix Makefile
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
78
diff
changeset
|
4 |
52da06c3f050
add printTree.cc & fix Makefile
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
78
diff
changeset
|
5 SRCS_TMP = $(wildcard *.cc) |
191
02031fb73af8
remove somefiles and fix header files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
167
diff
changeset
|
6 SRCS_EXCLUDE = |
79
52da06c3f050
add printTree.cc & fix Makefile
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
78
diff
changeset
|
7 SRCS = $(filter-out $(SRCS_EXCLUDE),$(SRCS_TMP)) |
52da06c3f050
add printTree.cc & fix Makefile
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
78
diff
changeset
|
8 OBJS = $(SRCS:.cc=.o) |
52da06c3f050
add printTree.cc & fix Makefile
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
78
diff
changeset
|
9 |
52da06c3f050
add printTree.cc & fix Makefile
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
78
diff
changeset
|
10 .cc.o: |
52da06c3f050
add printTree.cc & fix Makefile
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
78
diff
changeset
|
11 $(CC) $(CFLAGS) -c $< -o $@ |
52da06c3f050
add printTree.cc & fix Makefile
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
78
diff
changeset
|
12 |
191
02031fb73af8
remove somefiles and fix header files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
167
diff
changeset
|
13 all: $(TARGET) |
79
52da06c3f050
add printTree.cc & fix Makefile
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
78
diff
changeset
|
14 |
208
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
15 regexParser: $(OBJS) |
207
58d3c01bf421
test gcov
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
205
diff
changeset
|
16 $(CC) $(CFLAGS) -o $@ $(OBJS) |
79
52da06c3f050
add printTree.cc & fix Makefile
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
78
diff
changeset
|
17 |
202
39ca25ed0607
add searchBit test
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
198
diff
changeset
|
18 test/searchBit: test/searchBit.cc |
207
58d3c01bf421
test gcov
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
205
diff
changeset
|
19 $(CC) $(CFLAGS) -I. $< bitVector.cc -o $@ |
45 | 20 |
205
b7b8f0c03fe3
add test/ccMerge.cc
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
202
diff
changeset
|
21 test/ccMerge: test/ccMerge.cc |
207
58d3c01bf421
test gcov
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
205
diff
changeset
|
22 $(CC) $(CFLAGS) -I. $< subsetConstraction.cc regexParser.cc node.cc error.cc bitVector.cc -o $@ |
58d3c01bf421
test gcov
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
205
diff
changeset
|
23 |
58d3c01bf421
test gcov
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
205
diff
changeset
|
24 gcov: |
58d3c01bf421
test gcov
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
205
diff
changeset
|
25 make CFLAGS="-Wall -O0 -g -coverage" |
58d3c01bf421
test gcov
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
205
diff
changeset
|
26 make test1 |
58d3c01bf421
test gcov
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
205
diff
changeset
|
27 make merge_test |
58d3c01bf421
test gcov
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
205
diff
changeset
|
28 gcov *.gcda |
205
b7b8f0c03fe3
add test/ccMerge.cc
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
202
diff
changeset
|
29 |
45 | 30 clean: |
191
02031fb73af8
remove somefiles and fix header files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
167
diff
changeset
|
31 rm -f $(TARGET) $(OBJS) |
207
58d3c01bf421
test gcov
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
205
diff
changeset
|
32 rm -f *~ \#* *.gcda *.gcno *.gcov |
78
23a96fefa643
add make test
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
53
diff
changeset
|
33 |
164
93d3ad1d20ed
add mergeTest.cc
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
162
diff
changeset
|
34 .SUFFIXES: .cc .o |
93d3ad1d20ed
add mergeTest.cc
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
162
diff
changeset
|
35 |
209
959f8c00da17
fix charClassStackPop()
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
208
diff
changeset
|
36 test1: regexParser |
208
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
37 ./regexParser -regex 'a' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
38 ./regexParser -regex 'ab' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
39 ./regexParser -regex 'a*b' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
40 ./regexParser -regex 'ab*' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
41 ./regexParser -regex '(ab)*' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
42 ./regexParser -regex '(ab)*c' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
43 ./regexParser -regex '(ab)c' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
44 ./regexParser -regex '(a|b)c' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
45 ./regexParser -regex 'a(bc)*d' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
46 ./regexParser -regex 'abc*d' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
47 ./regexParser -regex '(ab)c*d' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
48 ./regexParser -regex 'a(b)c' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
49 ./regexParser -regex '(a|b|c)d' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
50 ./regexParser -regex '(a|b|c)*d' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
51 ./regexParser -regex '[a]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
52 ./regexParser -regex '[ab]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
53 ./regexParser -regex '[a-z]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
54 ./regexParser -regex '[a-zA-Z]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
55 ./regexParser -regex '[a-zA-Z]*' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
56 ./regexParser -regex 'a[a-zA-Z]*' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
57 ./regexParser -regex 'a([a-z])' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
58 ./regexParser -regex 'a|[a-z]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
59 ./regexParser -regex 'a|[a-z]*' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
60 ./regexParser -regex 'a*|[a-z]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
61 ./regexParser -regex '[d-ga-c]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
62 ./regexParser -regex '[d-ga-d]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
63 ./regexParser -regex '[d-ga-e]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
64 ./regexParser -regex '[d-ga-f]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
65 ./regexParser -regex '[d-ga-h]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
66 ./regexParser -regex '[d-gd-e]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
67 ./regexParser -regex '[d-gd-f]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
68 ./regexParser -regex '[d-gd-h]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
69 ./regexParser -regex '[d-ge-f]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
70 ./regexParser -regex '[d-ge-g]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
71 ./regexParser -regex '[d-ge-i]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
72 ./regexParser -regex '[d-gg-i]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
73 ./regexParser -regex '[d-gh-i]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
74 ./regexParser -regex '[d-ga-cx-z]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
75 ./regexParser -regex '[d-ga-de-d]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
76 ./regexParser -regex '[d-ga-db-e]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
77 ./regexParser -regex '[d-gh-ja-e]' |
162 | 78 |
209
959f8c00da17
fix charClassStackPop()
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
208
diff
changeset
|
79 merge_test: test/ccMerge |
208
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
80 ./test/ccMerge -regex '[f-i]' -regex 'e' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
81 ./test/ccMerge -regex '[f-i]' -regex 'f' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
82 ./test/ccMerge -regex '[f-i]' -regex 'g' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
83 ./test/ccMerge -regex '[f-i]' -regex 'i' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
84 ./test/ccMerge -regex '[f-i]' -regex 'j' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
85 ./test/ccMerge -regex 'e' -regex '[f-i]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
86 ./test/ccMerge -regex 'f' -regex '[f-i]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
87 ./test/ccMerge -regex 'g' -regex '[f-i]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
88 ./test/ccMerge -regex 'i' -regex '[f-i]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
89 ./test/ccMerge -regex 'j' -regex '[f-i]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
90 ./test/ccMerge -regex '[f-i]' -regex '[d-e]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
91 ./test/ccMerge -regex '[f-i]' -regex '[d-f]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
92 ./test/ccMerge -regex '[f-i]' -regex '[d-g]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
93 ./test/ccMerge -regex '[f-i]' -regex '[d-i]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
94 ./test/ccMerge -regex '[f-i]' -regex '[d-k]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
95 ./test/ccMerge -regex '[f-i]' -regex '[f-g]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
96 ./test/ccMerge -regex '[f-i]' -regex '[f-i]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
97 ./test/ccMerge -regex '[f-i]' -regex '[f-k]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
98 ./test/ccMerge -regex '[f-i]' -regex '[g-h]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
99 ./test/ccMerge -regex '[f-i]' -regex '[g-i]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
100 ./test/ccMerge -regex '[f-i]' -regex '[g-k]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
101 ./test/ccMerge -regex '[f-i]' -regex '[i-k]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
102 ./test/ccMerge -regex '[f-i]' -regex '[j-k]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
103 ./test/ccMerge -regex '[c-ef-i]' -regex '[d-e]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
104 ./test/ccMerge -regex '[c-ef-i]' -regex '[d-f]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
105 ./test/ccMerge -regex '[c-ef-i]' -regex '[d-g]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
106 ./test/ccMerge -regex '[c-ef-i]' -regex '[d-i]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
107 ./test/ccMerge -regex '[c-ef-ij-m]' -regex '[d-k]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
108 ./test/ccMerge -regex '[f-ij-m]' -regex '[f-k]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
109 ./test/ccMerge -regex '[f-ij-m]' -regex '[g-k]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
110 ./test/ccMerge -regex '[f-ij-m]' -regex '[i-k]' |
2ec95755238e
fix mergetest
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
207
diff
changeset
|
111 ./test/ccMerge -regex '[f-ij-m]' -regex '[j-k]' |