Mercurial > hg > Applications > Grep
view regex/Makefile @ 62:a49b4a8b8c14
implement isLiteral
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 14 Jul 2015 16:45:07 +0900 |
parents | e1c5ecbf8836 |
children |
line wrap: on
line source
TARGET=regex CC=clang++ OPTION= -Wall -O0 -g SRCS_TMP = $(wildcard *.cc) SRCS_EXCLUDE = # 除外するファイルを書く SRCS = $(filter-out $(SRCS_EXCLUDE),$(SRCS_TMP)) OBJS = $(SRCS:.cc=.o) .SUFFIXES: .cc .o .cc.o: $(CC) $(CFLAGS) -c $< -o $@ all: $(TARGET) $(TARGET):$(OBJS) $(CC) -o $@ $(OBJS) clean: rm -f $(TARGET) $(OBJS) rm -f *~ \#* test: ./$(TARGET) -file main.cc -sw bm