annotate TaskManager/Test/test_render/spe/Makefile @ 166:8831c058a1ff draft

fix
author gongo@localhost.localdomain
date Tue, 09 Dec 2008 11:53:51 +0900
parents 18c42658e0e7
children 06cdf8baa989
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
1 include ../Makefile.def
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
2
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
3 TARGET = ../spe-main
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
4
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
5 SRCS_TMP = $(wildcard *.cpp)
138
f35504025f73 オブジェクトを増やして複数の表示に成功。
gongo@charles.cr.ie.u-ryukyu.ac.jp
parents: 109
diff changeset
6 SRCS_EXCLUDE = CreatePolygon.cpp
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
7 SRCS = $(filter-out $(SRCS_EXCLUDE),$(SRCS_TMP))
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
8 OBJS = $(SRCS:.cpp=.o)
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
9
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
10 CC = spu-g++
161
18c42658e0e7 texture の座標がマイナスになったあと、それを 0 にし忘れてた
gongo@localhost.localdomain
parents: 149
diff changeset
11 CFLAGS = -O9 -Wall -g -fno-exceptions -fno-rtti #-DDEBUG
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
12 INCLUDE = -I$(CERIUM)/include/TaskManager -I. -I..
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
13 LIBS = -L$(CERIUM)/TaskManager -lspemanager
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
14
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
15 .SUFFIXES: .cpp .o
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
16
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
17 .cpp.o:
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
18 $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
19
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
20 all: $(TARGET)
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
21
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
22 $(TARGET): $(OBJS)
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
23 $(CC) -o $@ $(OBJS) $(TASK_OBJS) $(LIBS)
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
24
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
25 clean:
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
26 rm -f $(TARGET) $(OBJS)
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
27 rm -f *~ \#*