comparison Makefile.ps3 @ 61:e66cab264350

RenderingEngine Task is worked on spe, task_dandy Task is worked on ppe
author yutaka@localhost.localdomain
date Sun, 06 Feb 2011 18:11:30 +0900
parents cfd42ee2ad28
children a5ddd99181df
comparison
equal deleted inserted replaced
60:cfd42ee2ad28 61:e66cab264350
1 # Makefile to build the SDL tests 1 # Makefile to build the SDL tests
2 include ./Makefile.def 2 include ./Makefile.def
3 3
4 ABI = -m32 4 ABI = -m32
5 5
6 CFLAGS += `/usr/bin/sdl-config --cflags` `xml2-config --cflags` 6 CFLAGS += `/usr/bin/sdl-config --cflags` `xml2-config --cflags` -DPPE_ONLY
7 LIBS += `sdl-config --libs` -lGL -lGLU -lSDL_mixer -lSDL_image `xml2-config --libs` 7 LIBS += `sdl-config --libs` -lGL -lGLU -lSDL_mixer -lSDL_image `xml2-config --libs`
8 LIBS += -lCerium -lCellManager -lspe2 8 LIBS += -lCerium -lCellManager -lspe2
9 9
10 TASK_DIR = spe 10 TASK_DIR = spe
11 TASK_SRCS_TMP = $(wildcard $(TASK_DIR)/*.cc) 11 TASK_SRCS_TMP = $(wildcard $(TASK_DIR)/*.cc)
39 dandy: $(OBJS) Dandy.o collision.o Character_state.o 39 dandy: $(OBJS) Dandy.o collision.o Character_state.o
40 $(CC) $(ABI) -o $@ $? $(LIBS) 40 $(CC) $(ABI) -o $@ $? $(LIBS)
41 41
42 cell-dandy: t_dandy spe-main 42 cell-dandy: t_dandy spe-main
43 43
44 t_dandy: $(OBJS) $(TASK_OBJS) TaskDandy.o collision_task.o state_task.o 44 t_dandy: $(OBJS) $(TASK_OBJS) TaskDandy.o collision_task.o state_task.o
45 $(CC) $(ABI) -o $@ $? $(LIBS) 45 $(CC) $(ABI) -o $@ $? $(LIBS)
46 46
47 clean: 47 clean:
48 rm -f $(TARGET) $(OBJS) sgoex.o main.o Dandy.o $(TASK_DIR)/*.o 48 rm -f $(TARGET) $(OBJS) sgoex.o main.o Dandy.o $(TASK_DIR)/*.o
49 cd spe;$(MAKE) clean 49 cd spe;$(MAKE) clean