Mercurial > hg > Members > kono > Cerium
diff TaskManager/Test/test_render/spe/Makefile @ 109:5c194c71eca8
Cerium cvs version
author | gongo@gendarme.local |
---|---|
date | Wed, 12 Nov 2008 17:39:33 +0900 |
parents | |
children | 3fd24be89d02 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TaskManager/Test/test_render/spe/Makefile Wed Nov 12 17:39:33 2008 +0900 @@ -0,0 +1,26 @@ +include ../Makefile.def + +TARGET = ../spe-main + +SRCS_TMP = $(wildcard *.cpp) +SRCS = $(filter-out $(SRCS_EXCLUDE),$(SRCS_TMP)) +OBJS = $(SRCS:.cpp=.o) + +CC = spu-g++ +CFLAGS = -O9 -g -fno-exceptions -fno-rtti #-DDEBUG +INCLUDE = -I$(CERIUM)/include/TaskManager -I. -I.. +LIBS = -L$(CERIUM)/TaskManager -lspemanager + +.SUFFIXES: .cpp .o + +.cpp.o: + $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@ + +all: $(TARGET) + +$(TARGET): $(OBJS) + $(CC) -o $@ $(OBJS) $(TASK_OBJS) $(LIBS) + +clean: + rm -f $(TARGET) $(OBJS) + rm -f *~ \#* \ No newline at end of file