Mercurial > hg > Game > Cerium
comparison 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 |
comparison
equal
deleted
inserted
replaced
1200:7b866a392adc | 1201:dd52af319c40 |
---|---|
1 include ./Makefile.def | |
2 | |
3 SRCS_TMP = $(wildcard *.cc) | |
4 <<<<<<< local | |
5 SRCS_EXCLUDE = grep_main.cc # 除外するファイルを書く | |
6 ======= | |
7 SRCS_EXCLUDE = # 除外するファイルを書く | |
8 >>>>>>> other | |
9 SRCS = $(filter-out $(SRCS_EXCLUDE),$(SRCS_TMP)) | |
10 OBJS = $(SRCS:.cc=.o) | |
11 | |
12 TASK_DIR = ppe | |
13 TASK_SRCS_TMP = $(wildcard $(TASK_DIR)/*.cc) | |
14 <<<<<<< local | |
15 TASK_SRCS_EXCLUDE = switchGrep.cc | |
16 ======= | |
17 TASK_SRCS_EXCLUDE = | |
18 >>>>>>> other | |
19 TASK_SRCS = $(filter-out $(TASK_DIR)/$(TASK_SRCS_EXCLUDE),$(TASK_SRCS_TMP)) | |
20 TASK_OBJS = $(TASK_SRCS:.cc=.o) | |
21 | |
22 LIBS += -lFifoManager `sdl-config --libs` | |
23 CC += -m$(ABIBIT) | |
24 | |
25 .SUFFIXES: .cc .o | |
26 | |
27 .cc.o: | |
28 $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@ | |
29 | |
30 all: $(TARGET) | |
31 | |
32 $(TARGET): $(OBJS) $(TASK_OBJS) | |
33 $(CC) -o $@ $(OBJS) $(TASK_OBJS) $(LIBS) | |
34 | |
35 link: | |
36 <<<<<<< local | |
37 $(CC) -o $(TARGET) $(OBJS) $(TASK_OBJS) $(LIBS) | |
38 ======= | |
39 $(CC) -o $(TARGET) $(OBJS) $(TASK_OBJS) $(LIBS) | |
40 >>>>>>> other | |
41 | |
42 debug: $(TARGET) | |
43 sudo gdb ./$(TARGET) | |
44 | |
45 clean: | |
46 rm -f $(TARGET) $(OBJS) $(TASK_OBJS) | |
47 rm -f *~ \#* | |
48 rm -f ppe/*~ ppe/\#* | |
49 rm -f spe/*~ spe/\#* |