Mercurial > hg > Applications > Grep
diff 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 |
line wrap: on
line diff
--- a/regexParser/Makefile Fri Jan 29 20:41:34 2016 +0900 +++ b/regexParser/Makefile Sat Jan 30 19:06:41 2016 +0900 @@ -5,7 +5,7 @@ AR= libCeriumGrep.a SRCS_TMP = $(wildcard *.cc) -SRCS_EXCLUDE = sequentialSearch.cc state.cc parallelSearch.cc taskInit.cc searchTask.cc +SRCS_EXCLUDE = sequentialSearch.cc state.cc parallelSearch.cc taskInit.cc searchTask.cc main.cc SRCS = $(filter-out $(SRCS_EXCLUDE),$(SRCS_TMP)) OBJS = $(SRCS:.cc=.o) @@ -16,8 +16,8 @@ all: $(TARGET) -regexParser: $(OBJS) - $(CC) $(CFLAGS) -o $@ $(OBJS) +regexParser: $(OBJS) main.o + $(CC) $(CFLAGS) -o $@ $(OBJS) main.o test/searchBit: test/searchBit.cc $(CC) $(CFLAGS) $< bitVector.cc -o $@