Mercurial > hg > Members > kono > Cerium
comparison Renderer/Test/Makefile.cell @ 524:0f180d46db89
Cerium no error.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 22 Oct 2009 14:05:24 +0900 |
parents | b273767962b8 |
children | f7ec374fc093 |
comparison
equal
deleted
inserted
replaced
523:b273767962b8 | 524:0f180d46db89 |
---|---|
1 include ./Makefile.def | 1 include ./Makefile.def |
2 | 2 |
3 LIBS += -lFifoManager -lCerium | 3 LIBS += -lCerium -lCellManager -lspe2 -lpthread |
4 | 4 |
5 CFLAGS += `sdl-config --cflags` `xml2-config --cflags` | 5 CFLAGS += `sdl-config --cflags` `xml2-config --cflags` |
6 LIBS += `sdl-config --libs` `xml2-config --libs` -lSDL_image -Wl,-framework,OpenGL | 6 LIBS += `sdl-config --libs` -lSDL_image -lGL `xml2-config --libs` |
7 | |
7 | 8 |
8 .SUFFIXES: .cc .o .xml | 9 .SUFFIXES: .cc .o .xml |
9 | 10 |
10 .cc.o: | 11 .cc.o: |
11 $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@ | 12 $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@ |
12 | 13 |
13 all: ball_bound | 14 all: ball_bound spe-main |
14 | 15 |
15 cell: | 16 cell: |
16 make -f Makefile.cell | 17 make -f Makefile.cell |
17 | 18 |
19 speobject: | |
20 cd spe; $(MAKE) | |
21 | |
22 run: $(TARGET) | |
23 sudo ./$(TARGET) -width 576 -height 384 -bpp 32 | |
24 run-hd: $(TARGET) | |
25 sudo /usr/sbin/ps3-video-mode -v 133 | |
26 sudo ./$(TARGET) -video fb -width 1920 -height 1080 -bpp 32 | |
27 | |
18 BALL_BOUND_OBJ = ball_bound.o | 28 BALL_BOUND_OBJ = ball_bound.o |
19 BALL_BOUND_XML = xml_file/Ball.xml | 29 BALL_BOUND_XML = xml_file/Ball.xml |
30 | |
31 spe-main: | |
32 ln -s ../Engine/spe-main . | |
20 | 33 |
21 ball_bound : $(BALL_BOUND_OBJ) $(BALL_BOUND_XML).o | 34 ball_bound : $(BALL_BOUND_OBJ) $(BALL_BOUND_XML).o |
22 $(CC) -o $@ $< $(BALL_BOUND_XML).o $(LIBS) | 35 $(CC) -o $@ $< $(BALL_BOUND_XML).o $(LIBS) |
23 | 36 |
24 ball_bound.cc : $(BALL_BOUND_XML).h | 37 ball_bound.cc : $(BALL_BOUND_XML).h |
25 | 38 |
26 $(BALL_BOUND_XML).cc $(BALL_BOUND_XML).h : $(BALL_BOUND_XML) | 39 $(BALL_BOUND_XML).cc $(BALL_BOUND_XML).h : $(BALL_BOUND_XML) |
27 perl $(TOOL)/create_sglist.pl -o $@ $(BALL_BOUND_XML) | 40 perl $(TOOL)/create_sglist.pl -o $@ $(BALL_BOUND_XML) |
28 | 41 |
29 | |
30 run: $(TARGET) | |
31 sudo ./$(TARGET) -width 576 -height 384 -bpp 32 | |
32 | 42 |
33 debug: $(TARGET) | 43 debug: $(TARGET) |
34 sudo ppu-gdb ./$(TARGET) | 44 sudo ppu-gdb ./$(TARGET) |
35 | 45 |
36 depend: | 46 depend: |