annotate example/regex/Makefile.macosx~ @ 1201:dd52af319c40 draft

add regex/
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Thu, 14 Jul 2011 18:53:40 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1201
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 include ./Makefile.def
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 SRCS_TMP = $(wildcard *.cc)
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 <<<<<<< local
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 SRCS_EXCLUDE = grep_main.cc # 除外するファイルを書く
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 =======
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 SRCS_EXCLUDE = # 除外するファイルを書く
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 >>>>>>> other
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 SRCS = $(filter-out $(SRCS_EXCLUDE),$(SRCS_TMP))
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 OBJS = $(SRCS:.cc=.o)
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 TASK_DIR = ppe
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 TASK_SRCS_TMP = $(wildcard $(TASK_DIR)/*.cc)
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 <<<<<<< local
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 TASK_SRCS_EXCLUDE = switchGrep.cc
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
16 =======
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
17 TASK_SRCS_EXCLUDE =
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
18 >>>>>>> other
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
19 TASK_SRCS = $(filter-out $(TASK_DIR)/$(TASK_SRCS_EXCLUDE),$(TASK_SRCS_TMP))
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
20 TASK_OBJS = $(TASK_SRCS:.cc=.o)
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
21
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
22 LIBS += -lFifoManager `sdl-config --libs`
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
23 CC += -m$(ABIBIT)
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
24
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
25 .SUFFIXES: .cc .o
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
26
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
27 .cc.o:
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
28 $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
29
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
30 all: $(TARGET)
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
31
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
32 $(TARGET): $(OBJS) $(TASK_OBJS)
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
33 $(CC) -o $@ $(OBJS) $(TASK_OBJS) $(LIBS)
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
34
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
35 link:
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
36 <<<<<<< local
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
37 $(CC) -o $(TARGET) $(OBJS) $(TASK_OBJS) $(LIBS)
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
38 =======
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
39 $(CC) -o $(TARGET) $(OBJS) $(TASK_OBJS) $(LIBS)
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
40 >>>>>>> other
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
41
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
42 debug: $(TARGET)
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
43 sudo gdb ./$(TARGET)
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
44
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
45 clean:
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
46 rm -f $(TARGET) $(OBJS) $(TASK_OBJS)
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
47 rm -f *~ \#*
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
48 rm -f ppe/*~ ppe/\#*
dd52af319c40 add regex/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
49 rm -f spe/*~ spe/\#*