Mercurial > hg > Applications > Grep
view regex/Makefile @ 99:1e5b56e8263b impl-bitvector
remove some variable
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 10 Nov 2015 20:57:59 +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