annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
1 include ../Makefile.def
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
2
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
3 TARGET = ../spe-main
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
4
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
5 SRCS_TMP = $(wildcard *.cpp)
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
6 SRCS = $(filter-out $(SRCS_EXCLUDE),$(SRCS_TMP))
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
7 OBJS = $(SRCS:.cpp=.o)
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
8
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
9 CC = spu-g++
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
10 CFLAGS = -O9 -g -fno-exceptions -fno-rtti #-DDEBUG
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
11 INCLUDE = -I$(CERIUM)/include/TaskManager -I. -I..
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
12 LIBS = -L$(CERIUM)/TaskManager -lspemanager
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
13
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
14 .SUFFIXES: .cpp .o
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
15
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
16 .cpp.o:
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
17 $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
18
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
19 all: $(TARGET)
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
20
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
21 $(TARGET): $(OBJS)
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
22 $(CC) -o $@ $(OBJS) $(TASK_OBJS) $(LIBS)
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
23
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
24 clean:
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
25 rm -f $(TARGET) $(OBJS)
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
26 rm -f *~ \#*