Mercurial > hg > Game > Cerium
annotate Renderer/Test/Makefile.macosx @ 1245:a97b4dd4574c draft
Added tag real_matrix for changeset cd50c48f45e7
author | Kakeru TAMASIRO <e095736@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 11 Nov 2011 17:04:13 +0900 |
parents | 0ee23180d301 |
children | e92f00ed2fc0 |
rev | line source |
---|---|
542 | 1 include ./Makefile.def |
2 | |
602
92b0d490e839
64bit mode try... not worked.
e075740@nw0740.st.ie.u-ryukyu.ac.jp
parents:
585
diff
changeset
|
3 LIBS += -lCerium -lFifoManager |
542 | 4 |
1205
b8adf4e95e96
add createStringFont()
Takao YONAMINE <e095763@ie.u-ryukyu.ac.jp>
parents:
1153
diff
changeset
|
5 CFLAGS += `sdl-config --cflags` `xml2-config --cflags` `freetype-config --cflags` $(INCLUDE) |
b8adf4e95e96
add createStringFont()
Takao YONAMINE <e095763@ie.u-ryukyu.ac.jp>
parents:
1153
diff
changeset
|
6 LIBS += `sdl-config --libs` `xml2-config --libs` `freetype-config --libs` -lSDL_image -Wl,-framework,OpenGL |
542 | 7 |
904 | 8 .SUFFIXES: .proto .pb.o .pb.cc .cc .o .xml .xml.h .xml.cc |
1153
16c795222988
fix Makefile of Renderer/Test
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
1092
diff
changeset
|
9 .PRECIOUS: %.pb.cc |
542 | 10 .cc.o: |
583 | 11 $(CC) $(CFLAGS) -c $< -o $@ |
542 | 12 |
864
0172ca0ee53d
edit Renderer/Test/Makefile for ProtocolBuffers (please install ProtocolBuffers)
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
858
diff
changeset
|
13 %.pb.cc: $(PROTODIR)/%.proto |
0172ca0ee53d
edit Renderer/Test/Makefile for ProtocolBuffers (please install ProtocolBuffers)
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
858
diff
changeset
|
14 $(PROTO) $(PROTOFLAGS) $< |
0172ca0ee53d
edit Renderer/Test/Makefile for ProtocolBuffers (please install ProtocolBuffers)
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
858
diff
changeset
|
15 |
1207 | 16 ALL = ball_bound boss1_action direction gaplant ieshoot node panel universe untitled vacuum property_test send_linda dynamic writer chain_old SgRootChange viewer aquarium network init_aquarium test_linda viewer_2 |
779 | 17 |
576 | 18 all: $(ALL) |
542 | 19 |
1205
b8adf4e95e96
add createStringFont()
Takao YONAMINE <e095763@ie.u-ryukyu.ac.jp>
parents:
1153
diff
changeset
|
20 STR_OBJ = print_string.o |
b8adf4e95e96
add createStringFont()
Takao YONAMINE <e095763@ie.u-ryukyu.ac.jp>
parents:
1153
diff
changeset
|
21 print_string : $(STR_OBJ) |
b8adf4e95e96
add createStringFont()
Takao YONAMINE <e095763@ie.u-ryukyu.ac.jp>
parents:
1153
diff
changeset
|
22 $(CC) $(CFLAGS) -o $@ $? $(LIBS) |
b8adf4e95e96
add createStringFont()
Takao YONAMINE <e095763@ie.u-ryukyu.ac.jp>
parents:
1153
diff
changeset
|
23 |
558 | 24 BALL_BOUND_OBJ = ball_bound.o |
562 | 25 ball_bound : $(BALL_BOUND_OBJ) |
1092
b99abedb5523
fix h w in makeTapestry
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1029
diff
changeset
|
26 $(CC) $(CFLAGS) -o $@ $? $(LIBS) |
542 | 27 |
558 | 28 BOSS_OBJ = boss1_action.o |
562 | 29 boss1_action : $(BOSS_OBJ) |
1092
b99abedb5523
fix h w in makeTapestry
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1029
diff
changeset
|
30 $(CC) $(CFLAGS) -o $@ $? $(LIBS) |
559 | 31 |
32 DIRECTION_OBJ = direction.o | |
562 | 33 direction : $(DIRECTION_OBJ) |
1092
b99abedb5523
fix h w in makeTapestry
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1029
diff
changeset
|
34 $(CC) $(CFLAGS) -o $@ $? $(LIBS) |
559 | 35 |
561
5d9728befc2d
gplant (not yet worked...)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
560
diff
changeset
|
36 GAPLAN_OBJ = gaplant.o gaplant_action.o back_action.o ball_action.o |
562 | 37 gaplant : $(GAPLAN_OBJ) |
1092
b99abedb5523
fix h w in makeTapestry
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1029
diff
changeset
|
38 $(CC) $(CFLAGS) -o $@ $? $(LIBS) |
560
f28217567cbe
gaplant... how to solve scenegraph id conflict?
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
559
diff
changeset
|
39 |
563
338ad9c856fc
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
40 IESHOOT_OBJ = ieshoot.o |
338ad9c856fc
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
41 ieshoot : $(IESHOOT_OBJ) |
1092
b99abedb5523
fix h w in makeTapestry
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1029
diff
changeset
|
42 $(CC) $(CFLAGS) -o $@ $? $(LIBS) |
563
338ad9c856fc
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
43 |
338ad9c856fc
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
44 NODE_OBJ = node.o |
338ad9c856fc
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
45 node : $(NODE_OBJ) |
1092
b99abedb5523
fix h w in makeTapestry
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1029
diff
changeset
|
46 $(CC) $(CFLAGS) -o $@ $? $(LIBS) |
563
338ad9c856fc
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
47 |
338ad9c856fc
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
48 PANEL_OBJ = panel.o |
338ad9c856fc
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
49 panel : $(PANEL_OBJ) |
1092
b99abedb5523
fix h w in makeTapestry
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1029
diff
changeset
|
50 $(CC) $(CFLAGS) -o $@ $? $(LIBS) |
563
338ad9c856fc
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
51 |
338ad9c856fc
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
52 UNIV_OBJ = universe.o |
338ad9c856fc
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
53 universe : $(UNIV_OBJ) |
1092
b99abedb5523
fix h w in makeTapestry
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1029
diff
changeset
|
54 $(CC) $(CFLAGS) -o $@ $? $(LIBS) |
563
338ad9c856fc
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
55 |
338ad9c856fc
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
56 UNTITLED_OBJ = untitled.o |
338ad9c856fc
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
57 untitled : $(UNTITLED_OBJ) |
1092
b99abedb5523
fix h w in makeTapestry
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1029
diff
changeset
|
58 $(CC) $(CFLAGS) -o $@ $? $(LIBS) |
563
338ad9c856fc
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
59 |
338ad9c856fc
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
60 VACUUM_OBJ = vacuum.o cube.o game_over.o title.o |
338ad9c856fc
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
61 vacuum : $(VACUUM_OBJ) |
1092
b99abedb5523
fix h w in makeTapestry
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1029
diff
changeset
|
62 $(CC) $(CFLAGS) -o $@ $? $(LIBS) |
542 | 63 |
747 | 64 PROPERTY_OBJ = property_test.o |
65 property_test : $(PROPERTY_OBJ) | |
1092
b99abedb5523
fix h w in makeTapestry
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1029
diff
changeset
|
66 $(CC) $(CFLAGS) -o $@ $? $(LIBS) |
747 | 67 |
565 | 68 DYNAMIC_OBJ = dynamic_create.o |
69 dynamic : $(DYNAMIC_OBJ) | |
1092
b99abedb5523
fix h w in makeTapestry
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1029
diff
changeset
|
70 $(CC) $(CFLAGS) -o $@ $? $(LIBS) |
565 | 71 |
72 SENDLINDA_OBJ = send_linda.o | |
73 send_linda : $(SENDLINDA_OBJ) | |
1092
b99abedb5523
fix h w in makeTapestry
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1029
diff
changeset
|
74 $(CC) $(CFLAGS) -o $@ $? $(LIBS) |
565 | 75 |
583 | 76 WRITER_OBJ = writer.o |
77 writer : $(WRITER_OBJ) | |
1092
b99abedb5523
fix h w in makeTapestry
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1029
diff
changeset
|
78 $(CC) $(CFLAGS) -o $@ $? $(LIBS) |
583 | 79 |
585 | 80 CHAIN_OBJ = chain_old.o |
81 chain_old : $(CHAIN_OBJ) | |
1092
b99abedb5523
fix h w in makeTapestry
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1029
diff
changeset
|
82 $(CC) $(CFLAGS) -o $@ $? $(LIBS) |
585 | 83 |
747 | 84 SGCHANGE_OBJ = SgRootChange.o |
85 SgRootChange : $(SGCHANGE_OBJ) | |
1092
b99abedb5523
fix h w in makeTapestry
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1029
diff
changeset
|
86 $(CC) $(CFLAGS) -o $@ $? $(LIBS) |
747 | 87 |
1207 | 88 VIEWER_OBJ = viewer_2.o |
845 | 89 viewer : $(VIEWER_OBJ) |
1092
b99abedb5523
fix h w in makeTapestry
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1029
diff
changeset
|
90 $(CC) $(CFLAGS) -o $@ $? $(LIBS) |
845 | 91 |
864
0172ca0ee53d
edit Renderer/Test/Makefile for ProtocolBuffers (please install ProtocolBuffers)
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
858
diff
changeset
|
92 AQUARIUM_OBJ = aquarium.pb.o aquarium.o |
0172ca0ee53d
edit Renderer/Test/Makefile for ProtocolBuffers (please install ProtocolBuffers)
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
858
diff
changeset
|
93 aquarium : $(AQUARIUM_OBJ) |
1092
b99abedb5523
fix h w in makeTapestry
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1029
diff
changeset
|
94 $(CC) $(CFLAGS) -o $@ $? $(LIBS) $(PROTOLIBS) |
858
9f6e29836095
Renderer/Test/aquarium init
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
845
diff
changeset
|
95 |
974 | 96 NETWORK_OBJ = network_game.pb.o network.o |
97 network : $(NETWORK_OBJ) | |
1092
b99abedb5523
fix h w in makeTapestry
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1029
diff
changeset
|
98 $(CC) $(CFLAGS) -o $@ $? $(LIBS) $(PROTOLIBS) |
974 | 99 |
867
9b25de3bb8de
add init_aquarium with protobuf
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
864
diff
changeset
|
100 INIT_AQUARIUM_OBJ = aquarium.pb.o init_aquarium.o |
9b25de3bb8de
add init_aquarium with protobuf
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
864
diff
changeset
|
101 init_aquarium : $(INIT_AQUARIUM_OBJ) |
1092
b99abedb5523
fix h w in makeTapestry
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1029
diff
changeset
|
102 $(CC) $(CFLAGS) -o $@ $? $(LIBS) $(PROTOLIBS) |
747 | 103 |
919 | 104 TEST_LINDA_OBJ = aquarium.pb.o test_linda.o |
105 test_linda : $(TEST_LINDA_OBJ) | |
1092
b99abedb5523
fix h w in makeTapestry
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1029
diff
changeset
|
106 $(CC) $(CFLAGS) -o $@ $? $(LIBS) $(PROTOLIBS) |
919 | 107 |
1207 | 108 VIEWER_OBJ2 = viewer_2.o |
109 viewer_2 : $(VIEWER_OBJ2) | |
110 $(CC) $(CFLAGS) -o $@ $? $(LIBS) | |
111 | |
542 | 112 run: $(TARGET) |
113 sudo ./$(TARGET) -width 576 -height 384 -bpp 32 | |
114 | |
115 debug: $(TARGET) | |
116 sudo ppu-gdb ./$(TARGET) | |
117 | |
118 depend: | |
119 $(RM) depend.inc | |
120 $(CC) -MM -MG $(INCLUDE) $(CFLAGS) $(SRCS) $(TASK_SRCS) > depend.inc | |
121 | |
122 clean: | |
558 | 123 rm -f $(TARGET) $(OBJS) $(TASK_OBJS) *.o |
576 | 124 rm -f *~ \#* $(ALL) |
558 | 125 rm -f $(BALL_BOUND_XML).cc $(BALL_BOUND_XML).h $(BALL_BOUND_OBJ) |
864
0172ca0ee53d
edit Renderer/Test/Makefile for ProtocolBuffers (please install ProtocolBuffers)
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
858
diff
changeset
|
126 rm -f *.pb.{cc,h} |
867
9b25de3bb8de
add init_aquarium with protobuf
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
864
diff
changeset
|
127 |
542 | 128 -include depend.inc |