annotate TaskManager/Test/test_render/Makefile.macosx @ 525:27eea39f2ebb draft

merge
author aaa
date Wed, 21 Oct 2009 21:05:34 +0900
parents 638bd307cde1 8d86242337ba
children ccbca48b6dfe
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
1 include ./Makefile.def
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
2
405
2c592936bbdf make Application sub directory
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 404
diff changeset
3 SRCS_TMP = $(wildcard *.cc) $(wildcard Application/*.cc)
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
4 SRCS_EXCLUDE = # ½ü³°
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
5 SRCS = $(filter-out $(SRCS_EXCLUDE),$(SRCS_TMP))
404
0d2dc1869cbe rename cpp to cc
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 321
diff changeset
6 OBJS = $(SRCS:.cc=.o)
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
7
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
8 TASK_DIR = task
404
0d2dc1869cbe rename cpp to cc
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 321
diff changeset
9 TASK_SRCS_TMP = $(wildcard $(TASK_DIR)/*.cc)
0d2dc1869cbe rename cpp to cc
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 321
diff changeset
10 TASK_SRCS_EXCLUDE = span_pack_draw.cc
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
11 TASK_SRCS = $(filter-out $(TASK_SRCS_EXCLUDE),$(TASK_SRCS_TMP))
404
0d2dc1869cbe rename cpp to cc
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 321
diff changeset
12 TASK_OBJS = $(TASK_SRCS:.cc=.o)
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
13
118
62d76597d6a2 fix Makefile
gongo@charles.cr.ie.u-ryukyu.ac.jp
parents: 109
diff changeset
14 LIBS += -lFifoManager
524
638bd307cde1 complex lindaapi
aaa
parents: 405
diff changeset
15 LIBS += -llindaapi
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
16
118
62d76597d6a2 fix Makefile
gongo@charles.cr.ie.u-ryukyu.ac.jp
parents: 109
diff changeset
17 CFLAGS += `sdl-config --cflags` `xml2-config --cflags`
62d76597d6a2 fix Makefile
gongo@charles.cr.ie.u-ryukyu.ac.jp
parents: 109
diff changeset
18 LIBS += `sdl-config --libs` `xml2-config --libs` -lSDL_image -Wl,-framework,OpenGL
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
19
404
0d2dc1869cbe rename cpp to cc
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 321
diff changeset
20 .SUFFIXES: .cc .o
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
21
404
0d2dc1869cbe rename cpp to cc
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 321
diff changeset
22 .cc.o:
118
62d76597d6a2 fix Makefile
gongo@charles.cr.ie.u-ryukyu.ac.jp
parents: 109
diff changeset
23 $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
24
520
8d86242337ba SGList isn't used
tkaito@henri.cr.ie.u-ryukyu.ac.jp
parents: 405
diff changeset
25 all:
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
26
321
f22280772f20 merge 317
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 318
diff changeset
27 $(TARGET): $(OBJS) $(TASK_OBJS)
f22280772f20 merge 317
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 318
diff changeset
28 $(CC) -o $@ $(OBJS) $(TASK_OBJS) $(LIBS)
235
7c1f0cd70d7a fix Makefile
gongo@localhost.localdomain
parents: 221
diff changeset
29
7c1f0cd70d7a fix Makefile
gongo@localhost.localdomain
parents: 221
diff changeset
30
7c1f0cd70d7a fix Makefile
gongo@localhost.localdomain
parents: 221
diff changeset
31 SGList.o: create_sg_list
404
0d2dc1869cbe rename cpp to cc
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 321
diff changeset
32 $(CC) $(CFLAGS) $(INCLUDE) -c SGList.cc -o $@
235
7c1f0cd70d7a fix Makefile
gongo@localhost.localdomain
parents: 221
diff changeset
33
7c1f0cd70d7a fix Makefile
gongo@localhost.localdomain
parents: 221
diff changeset
34 create_sg_list:
7c1f0cd70d7a fix Makefile
gongo@localhost.localdomain
parents: 221
diff changeset
35 @if [ ! -f SGList.h ]; then \
7c1f0cd70d7a fix Makefile
gongo@localhost.localdomain
parents: 221
diff changeset
36 cd tools/;\
7c1f0cd70d7a fix Makefile
gongo@localhost.localdomain
parents: 221
diff changeset
37 ./create_sglist.pl ../xml_file/*.xml;\
7c1f0cd70d7a fix Makefile
gongo@localhost.localdomain
parents: 221
diff changeset
38 fi
7c1f0cd70d7a fix Makefile
gongo@localhost.localdomain
parents: 221
diff changeset
39
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
40
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
41 run: $(TARGET)
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
42 sudo ./$(TARGET) -width 576 -height 384 -bpp 32
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
43
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
44 debug: $(TARGET)
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
45 sudo ppu-gdb ./$(TARGET)
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
46
221
0b0e0f323742 Cameraã®è¨­å®šã€Makefile 修正
gongo@gendarme.local
parents: 118
diff changeset
47 depend:
0b0e0f323742 Cameraã®è¨­å®šã€Makefile 修正
gongo@gendarme.local
parents: 118
diff changeset
48 $(RM) depend.inc
0b0e0f323742 Cameraã®è¨­å®šã€Makefile 修正
gongo@gendarme.local
parents: 118
diff changeset
49 $(CC) -MM -MG $(INCLUDE) $(CFLAGS) $(SRCS) $(TASK_SRCS) > depend.inc
0b0e0f323742 Cameraã®è¨­å®šã€Makefile 修正
gongo@gendarme.local
parents: 118
diff changeset
50
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
51 clean:
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
52 rm -f $(TARGET) $(OBJS) $(TASK_OBJS)
221
0b0e0f323742 Cameraã®è¨­å®šã€Makefile 修正
gongo@gendarme.local
parents: 118
diff changeset
53 rm -f *~ \#*
404
0d2dc1869cbe rename cpp to cc
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 321
diff changeset
54 rm -f SGList.h SGList.cc
221
0b0e0f323742 Cameraã®è¨­å®šã€Makefile 修正
gongo@gendarme.local
parents: 118
diff changeset
55
321
f22280772f20 merge 317
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 318
diff changeset
56 -include depend.inc