Mercurial > hg > Members > masakoha > testcode
comparison regexParser/Makefile @ 275:8879eb8c64a8
remove segmentation fault
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 30 Jan 2016 19:06:41 +0900 |
parents | bc704a31e842 |
children | 20ed7536784f |
comparison
equal
deleted
inserted
replaced
273:bc704a31e842 | 275:8879eb8c64a8 |
---|---|
3 CC= clang++ | 3 CC= clang++ |
4 CERIUM= ../../Cerium | 4 CERIUM= ../../Cerium |
5 AR= libCeriumGrep.a | 5 AR= libCeriumGrep.a |
6 | 6 |
7 SRCS_TMP = $(wildcard *.cc) | 7 SRCS_TMP = $(wildcard *.cc) |
8 SRCS_EXCLUDE = sequentialSearch.cc state.cc parallelSearch.cc taskInit.cc searchTask.cc | 8 SRCS_EXCLUDE = sequentialSearch.cc state.cc parallelSearch.cc taskInit.cc searchTask.cc main.cc |
9 SRCS = $(filter-out $(SRCS_EXCLUDE),$(SRCS_TMP)) | 9 SRCS = $(filter-out $(SRCS_EXCLUDE),$(SRCS_TMP)) |
10 OBJS = $(SRCS:.cc=.o) | 10 OBJS = $(SRCS:.cc=.o) |
11 | 11 |
12 REGEX = '[A-Z][A-Za-z0-9_]*' | 12 REGEX = '[A-Z][A-Za-z0-9_]*' |
13 | 13 |
14 .cc.o: | 14 .cc.o: |
15 $(CC) $(CFLAGS) -c $< -o $@ | 15 $(CC) $(CFLAGS) -c $< -o $@ |
16 | 16 |
17 all: $(TARGET) | 17 all: $(TARGET) |
18 | 18 |
19 regexParser: $(OBJS) | 19 regexParser: $(OBJS) main.o |
20 $(CC) $(CFLAGS) -o $@ $(OBJS) | 20 $(CC) $(CFLAGS) -o $@ $(OBJS) main.o |
21 | 21 |
22 test/searchBit: test/searchBit.cc | 22 test/searchBit: test/searchBit.cc |
23 $(CC) $(CFLAGS) $< bitVector.cc -o $@ | 23 $(CC) $(CFLAGS) $< bitVector.cc -o $@ |
24 | 24 |
25 test/ccMerge: test/ccMerge.o subsetConstruction.o regexParser.o node.o error.o bitVector.o | 25 test/ccMerge: test/ccMerge.o subsetConstruction.o regexParser.o node.o error.o bitVector.o |