annotate example/Pipeline/Makefile.macosx @ 1251:6da91e7cbffb draft

improve create From COLLADA
author Taiki TAIRA <e095767@ie.u-ryukyu.ac.jp>
date Fri, 11 Nov 2011 18:17:26 +0900
parents a0ea7d9b6faf
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
963
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
1 include ./Makefile.def
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
2
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
3 SRCS_TMP = $(wildcard *.cc)
1052
a0ea7d9b6faf Makefile utf-8
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 963
diff changeset
4 SRCS_EXCLUDE = # 除外するファイルを書く
963
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
5 SRCS = $(filter-out $(SRCS_EXCLUDE),$(SRCS_TMP))
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
6 OBJS = $(SRCS:.cc=.o)
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
7
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
8 TASK_DIR = ppe
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
9 TASK_SRCS_TMP = $(wildcard $(TASK_DIR)/*.cc)
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
10 TASK_SRCS_EXCLUDE =
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
11 TASK_SRCS = $(filter-out $(TASK_DIR)/$(TASK_SRCS_EXCLUDE),$(TASK_SRCS_TMP))
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
12 TASK_OBJS = $(TASK_SRCS:.cc=.o)
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
13
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
14 LIBS += -lFifoManager `sdl-config --libs`
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
15 CC += -m32
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
16
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
17 .SUFFIXES: .cc .o
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
18
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
19 .cc.o:
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
20 $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
21
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
22 all: $(TARGET)
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
23
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
24 $(TARGET): $(OBJS) $(TASK_OBJS)
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
25 $(CC) -o $@ $(OBJS) $(TASK_OBJS) $(LIBS) $(OPT)
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
26
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
27 link:
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
28 $(CC) -o $(TARGET) $(OBJS) $(TASK_OBJS) $(LIBS)
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
29
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
30 debug: $(TARGET)
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
31 sudo gdb ./$(TARGET)
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
32
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
33 clean:
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
34 rm -f $(TARGET) $(OBJS) $(TASK_OBJS)
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
35 rm -f *~ \#*
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
36 rm -f ppe/*~ ppe/\#*
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
37 rm -f spe/*~ spe/\#*