Mercurial > hg > Members > kono > Cerium
annotate example/share_task/Makefile.macosx @ 797:45c141669de7
SchedTask instance variable clean up
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 18 May 2010 17:57:19 +0900 |
parents | 60aa3f241b10 |
children |
rev | line source |
---|---|
109 | 1 include ./Makefile.def |
2 | |
3 SRCS_TMP = $(wildcard *.cc) | |
4 SRCS_EXCLUDE = # 除外するファイルを書く | |
5 SRCS = $(filter-out $(SRCS_EXCLUDE),$(SRCS_TMP)) | |
6 OBJS = $(SRCS:.cc=.o) | |
7 | |
8 TASK_DIR = ppe | |
9 TASK_SRCS_TMP = $(wildcard $(TASK_DIR)/*.cc) | |
10 TASK_SRCS_EXCLUDE = | |
11 TASK_SRCS = $(filter-out $(TASK_DIR)/$(TASK_SRCS_EXCLUDE),$(TASK_SRCS_TMP)) | |
12 TASK_OBJS = $(TASK_SRCS:.cc=.o) | |
13 | |
115 | 14 LIBS += -lFifoManager `sdl-config --libs` |
797
45c141669de7
SchedTask instance variable clean up
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
625
diff
changeset
|
15 CC += -m32 |
109 | 16 |
17 .SUFFIXES: .cc .o | |
18 | |
19 .cc.o: | |
20 $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@ | |
21 | |
22 all: $(TARGET) | |
23 | |
24 $(TARGET): $(OBJS) $(TASK_OBJS) | |
25 $(CC) -o $@ $(OBJS) $(TASK_OBJS) $(LIBS) | |
26 | |
27 link: | |
28 $(CC) -o $(TARGET) $(OBJS) $(TASK_OBJS) $(LIBS) | |
29 | |
30 debug: $(TARGET) | |
31 sudo gdb ./$(TARGET) | |
32 | |
33 clean: | |
34 rm -f $(TARGET) $(OBJS) $(TASK_OBJS) | |
35 rm -f *~ \#* | |
36 rm -f ppe/*~ ppe/\#* | |
37 rm -f spe/*~ spe/\#* |