annotate Renderer/Test/Makefile.cell @ 976:8e35f32c6ed1 draft

fix
author yutaka@henri.cr.ie.u-ryukyu.ac.jp
date Thu, 30 Sep 2010 21:02:07 +0900
parents 79bde32fd578
children ffe6ad89840e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
555
c5e09e9bbfa5 half finish for Cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 include ./Makefile.def
c5e09e9bbfa5 half finish for Cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
2
556
12135dde3b87 Cerium no error.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 555
diff changeset
3 LIBS += -lCerium -lCellManager -lspe2 -lpthread
555
c5e09e9bbfa5 half finish for Cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
4
c5e09e9bbfa5 half finish for Cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 CFLAGS += `sdl-config --cflags` `xml2-config --cflags`
556
12135dde3b87 Cerium no error.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 555
diff changeset
6 LIBS += `sdl-config --libs` -lSDL_image -lGL `xml2-config --libs`
12135dde3b87 Cerium no error.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 555
diff changeset
7
555
c5e09e9bbfa5 half finish for Cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
8
904
79bde32fd578 [aquarium] Makefile update
kazz
parents: 895
diff changeset
9 .SUFFIXES: .proto .pb.o .pb.cc .cc .o .xml .xml.h .xml.cc
555
c5e09e9bbfa5 half finish for Cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
10
c5e09e9bbfa5 half finish for Cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 .cc.o:
c5e09e9bbfa5 half finish for Cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@
c5e09e9bbfa5 half finish for Cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
13
904
79bde32fd578 [aquarium] Makefile update
kazz
parents: 895
diff changeset
14 %.pb.cc: $(PROTODIR)/%.proto
79bde32fd578 [aquarium] Makefile update
kazz
parents: 895
diff changeset
15 $(PROTO) $(PROTOFLAGS) $<
79bde32fd578 [aquarium] Makefile update
kazz
parents: 895
diff changeset
16
976
yutaka@henri.cr.ie.u-ryukyu.ac.jp
parents: 904
diff changeset
17 ALL = spe-main ball_bound boss1_action direction gaplant ieshoot node panel universe untitled vacuum dynamic viewer SgRootChange property_test create_task property_universe chain_old property_chain aquarium network init_aquarium
779
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 706 771
diff changeset
18
579
root@localhost.localdomain
parents: 578
diff changeset
19 all: $(ALL)
555
c5e09e9bbfa5 half finish for Cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
20
556
12135dde3b87 Cerium no error.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 555
diff changeset
21 speobject:
12135dde3b87 Cerium no error.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 555
diff changeset
22 cd spe; $(MAKE)
12135dde3b87 Cerium no error.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 555
diff changeset
23
12135dde3b87 Cerium no error.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 555
diff changeset
24 run: $(TARGET)
12135dde3b87 Cerium no error.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 555
diff changeset
25 sudo ./$(TARGET) -width 576 -height 384 -bpp 32
12135dde3b87 Cerium no error.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 555
diff changeset
26 run-hd: $(TARGET)
889
5f5301028e29 minor fix. Redering Engine not worked yet.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 858
diff changeset
27 sudo /usr/sbin/ps3-video-mode -v 133
556
12135dde3b87 Cerium no error.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 555
diff changeset
28 sudo ./$(TARGET) -video fb -width 1920 -height 1080 -bpp 32
12135dde3b87 Cerium no error.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 555
diff changeset
29
555
c5e09e9bbfa5 half finish for Cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
30
556
12135dde3b87 Cerium no error.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 555
diff changeset
31 spe-main:
12135dde3b87 Cerium no error.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 555
diff changeset
32 ln -s ../Engine/spe-main .
12135dde3b87 Cerium no error.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 555
diff changeset
33
564
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
34
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
35 BALL_BOUND_OBJ = ball_bound.o
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
36 ball_bound : $(BALL_BOUND_OBJ)
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
37 $(CC) -o $@ $? $(LIBS)
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
38
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
39 BOSS_OBJ = boss1_action.o
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
40 boss1_action : $(BOSS_OBJ)
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
41 $(CC) -o $@ $? $(LIBS)
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
42
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
43 DIRECTION_OBJ = direction.o
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
44 direction : $(DIRECTION_OBJ)
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
45 $(CC) -o $@ $? $(LIBS)
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
46
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
47 GAPLAN_OBJ = gaplant.o gaplant_action.o back_action.o ball_action.o
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
48 gaplant : $(GAPLAN_OBJ)
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
49 $(CC) -o $@ $? $(LIBS)
555
c5e09e9bbfa5 half finish for Cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
50
564
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
51 IESHOOT_OBJ = ieshoot.o
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
52 ieshoot : $(IESHOOT_OBJ)
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
53 $(CC) -o $@ $? $(LIBS)
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
54
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
55 NODE_OBJ = node.o
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
56 node : $(NODE_OBJ)
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
57 $(CC) -o $@ $? $(LIBS)
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
58
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
59 PANEL_OBJ = panel.o
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
60 panel : $(PANEL_OBJ)
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
61 $(CC) -o $@ $? $(LIBS)
555
c5e09e9bbfa5 half finish for Cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
62
564
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
63 UNIV_OBJ = universe.o
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
64 universe : $(UNIV_OBJ)
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
65 $(CC) -o $@ $? $(LIBS)
555
c5e09e9bbfa5 half finish for Cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
66
564
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
67 UNTITLED_OBJ = untitled.o
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
68 untitled : $(UNTITLED_OBJ)
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
69 $(CC) -o $@ $? $(LIBS)
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
70
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
71 VACUUM_OBJ = vacuum.o cube.o game_over.o title.o
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
72 vacuum : $(VACUUM_OBJ)
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
73 $(CC) -o $@ $? $(LIBS)
555
c5e09e9bbfa5 half finish for Cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
74
578
3d998f5d49a6 ps3 move
game@localhost.localdomain
parents: 564
diff changeset
75 DYNAMIC_OBJ = dynamic_create.o
3d998f5d49a6 ps3 move
game@localhost.localdomain
parents: 564
diff changeset
76 dynamic : $(DYNAMIC_OBJ)
3d998f5d49a6 ps3 move
game@localhost.localdomain
parents: 564
diff changeset
77 $(CC) -o $@ $? $(LIBS)
3d998f5d49a6 ps3 move
game@localhost.localdomain
parents: 564
diff changeset
78
589
e112f38275d5 add viwer.cc
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 579
diff changeset
79 VIEWER_OBJ = viewer.o
e112f38275d5 add viwer.cc
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 579
diff changeset
80 viewer : $(VIEWER_OBJ)
e112f38275d5 add viwer.cc
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 579
diff changeset
81 $(CC) -o $@ $? $(LIBS)
e112f38275d5 add viwer.cc
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 579
diff changeset
82
653
7a311860a76e remove global variable "sgroot" , add SgChange.{cc, h} SgMain.cc SgRootChange.{cc, h}
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents: 589
diff changeset
83 SG_CHANGE_OBJ = SgRootChange.o
7a311860a76e remove global variable "sgroot" , add SgChange.{cc, h} SgMain.cc SgRootChange.{cc, h}
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents: 589
diff changeset
84 SgRootChange : $(SG_CHANGE_OBJ)
755
8aaa29d3e874 add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents: 747
diff changeset
85 $(CC) -o $@ $? $(LIBS)
8aaa29d3e874 add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents: 747
diff changeset
86
8aaa29d3e874 add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents: 747
diff changeset
87 PROPERTY_TEST_OBJ = property_test.o
8aaa29d3e874 add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents: 747
diff changeset
88 property_test : $(PROPERTY_TEST_OBJ)
8aaa29d3e874 add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents: 747
diff changeset
89 $(CC) -o $@ $? $(LIBS)
8aaa29d3e874 add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents: 747
diff changeset
90
8aaa29d3e874 add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents: 747
diff changeset
91 CREATE_TASK_OBJ = create_task.o
8aaa29d3e874 add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents: 747
diff changeset
92 create_task : $(CREATE_TASK_OBJ)
8aaa29d3e874 add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents: 747
diff changeset
93 $(CC) -o $@ $? $(LIBS)
768
06302c1dc87d add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents: 755
diff changeset
94
06302c1dc87d add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents: 755
diff changeset
95 P_UNIVERSE_OBJ = property_universe.o
06302c1dc87d add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents: 755
diff changeset
96 property_universe : $(P_UNIVERSE_OBJ)
06302c1dc87d add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents: 755
diff changeset
97 $(CC) -o $@ $? $(LIBS)
06302c1dc87d add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents: 755
diff changeset
98
06302c1dc87d add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents: 755
diff changeset
99 CHAIN_OLD = chain_old.o
06302c1dc87d add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents: 755
diff changeset
100 chain_old : $(CHAIN_OLD)
06302c1dc87d add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents: 755
diff changeset
101 $(CC) -o $@ $? $(LIBS)
771
0ad733bd134a Test/property_chain is work
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents: 768
diff changeset
102
0ad733bd134a Test/property_chain is work
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents: 768
diff changeset
103 P_CHAIN_OBJ = property_chain.o
0ad733bd134a Test/property_chain is work
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents: 768
diff changeset
104 property_chain : $(P_CHAIN_OBJ)
0ad733bd134a Test/property_chain is work
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents: 768
diff changeset
105 $(CC) -o $@ $? $(LIBS)
858
9f6e29836095 Renderer/Test/aquarium init
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents: 779
diff changeset
106
904
79bde32fd578 [aquarium] Makefile update
kazz
parents: 895
diff changeset
107 AQUARIUM_OBJ = aquarium.pb.o aquarium.o
858
9f6e29836095 Renderer/Test/aquarium init
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents: 779
diff changeset
108 aquarium : $(AQUARIUM_OBJ)
904
79bde32fd578 [aquarium] Makefile update
kazz
parents: 895
diff changeset
109 $(CC) -o $@ $? $(LIBS) $(PROTOLIBS)
858
9f6e29836095 Renderer/Test/aquarium init
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents: 779
diff changeset
110
976
yutaka@henri.cr.ie.u-ryukyu.ac.jp
parents: 904
diff changeset
111 NETWORK_OBJ = network_game.pb.o network.o
yutaka@henri.cr.ie.u-ryukyu.ac.jp
parents: 904
diff changeset
112 network : $(NETWORK_OBJ)
yutaka@henri.cr.ie.u-ryukyu.ac.jp
parents: 904
diff changeset
113 $(CC) -o $@ $? $(LIBS) $(PROTOLIBS)
yutaka@henri.cr.ie.u-ryukyu.ac.jp
parents: 904
diff changeset
114
904
79bde32fd578 [aquarium] Makefile update
kazz
parents: 895
diff changeset
115 INIT_AQUARIUM_OBJ = aquarium.pb.o init_aquarium.o
79bde32fd578 [aquarium] Makefile update
kazz
parents: 895
diff changeset
116 init_aquarium : $(INIT_AQUARIUM_OBJ)
79bde32fd578 [aquarium] Makefile update
kazz
parents: 895
diff changeset
117 $(CC) -o $@ $? $(LIBS) $(PROTOLIBS)
79bde32fd578 [aquarium] Makefile update
kazz
parents: 895
diff changeset
118
555
c5e09e9bbfa5 half finish for Cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
119 debug: $(TARGET)
c5e09e9bbfa5 half finish for Cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
120 sudo ppu-gdb ./$(TARGET)
c5e09e9bbfa5 half finish for Cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
121
c5e09e9bbfa5 half finish for Cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
122 depend:
c5e09e9bbfa5 half finish for Cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
123 $(RM) depend.inc
c5e09e9bbfa5 half finish for Cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
124 $(CC) -MM -MG $(INCLUDE) $(CFLAGS) $(SRCS) $(TASK_SRCS) > depend.inc
c5e09e9bbfa5 half finish for Cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
125
c5e09e9bbfa5 half finish for Cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
126 clean:
c5e09e9bbfa5 half finish for Cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
127 rm -f $(TARGET) $(OBJS) $(TASK_OBJS) *.o
579
root@localhost.localdomain
parents: 578
diff changeset
128 rm -f *~ \#* $(ALL)
555
c5e09e9bbfa5 half finish for Cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
129 rm -f $(BALL_BOUND_XML).cc $(BALL_BOUND_XML).h $(BALL_BOUND_OBJ)
c5e09e9bbfa5 half finish for Cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
130
c5e09e9bbfa5 half finish for Cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
131 -include depend.inc
564
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
132
62b5f89e3d59 for cell
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 556
diff changeset
133