annotate example/get_segment/Makefile.macosx @ 619:0decff4e867b

RenewTask removal
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 15 Nov 2009 02:02:30 +0900
parents 81b25e5d5379
children 60aa3f241b10
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
354
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
1 include ./Makefile.def
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
2
619
0decff4e867b RenewTask removal
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 354
diff changeset
3 CC += -m32
0decff4e867b RenewTask removal
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 354
diff changeset
4
354
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
5 SRCS_TMP = $(wildcard *.cc)
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
6 SRCS_EXCLUDE = # 除外するファイルを書く
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
7 SRCS = $(filter-out $(SRCS_EXCLUDE),$(SRCS_TMP))
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
8 OBJS = $(SRCS:.cc=.o)
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
9
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
10 TASK_DIR = ppe
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
11 TASK_SRCS_TMP = $(wildcard $(TASK_DIR)/*.cc)
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
12 TASK_SRCS_EXCLUDE =
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
13 TASK_SRCS = $(filter-out $(TASK_DIR)/$(TASK_SRCS_EXCLUDE),$(TASK_SRCS_TMP))
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
14 TASK_OBJS = $(TASK_SRCS:.cc=.o)
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
15
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
16 LIBS += -lFifoManager `sdl-config --libs`
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
17
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
18 .SUFFIXES: .cc .o
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
19
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
20 .cc.o:
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
21 $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
22
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
23 all: $(TARGET)
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
24
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
25 $(TARGET): $(OBJS) $(TASK_OBJS)
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
26 $(CC) -o $@ $(OBJS) $(TASK_OBJS) $(LIBS)
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
27
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
28 link:
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
29 $(CC) -o $(TARGET) $(OBJS) $(TASK_OBJS) $(LIBS)
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
30
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
31 debug: $(TARGET)
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
32 sudo gdb ./$(TARGET)
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
33
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
34 clean:
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
35 rm -f $(TARGET) $(OBJS) $(TASK_OBJS)
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
36 rm -f *~ \#*
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
37 rm -f ppe/*~ ppe/\#*
81b25e5d5379 add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
38 rm -f spe/*~ spe/\#*