Mercurial > hg > Game > Cerium
annotate Renderer/Engine/spe/Makefile @ 1126:6043da6e48f1 draft
complete compile but not work yet.
author | yutaka@localhost.localdomain |
---|---|
date | Sat, 12 Feb 2011 08:39:35 +0900 |
parents | cfec583ae7d3 |
children | 801d57ae1e29 |
rev | line source |
---|---|
539 | 1 include ../Makefile.def |
2 | |
3 TARGET = ../spe-main | |
4 | |
5 TOP = ../$(CERIUM) | |
6 | |
7 SRCS_TMP = $(wildcard *.cc) | |
1126
6043da6e48f1
complete compile but not work yet.
yutaka@localhost.localdomain
parents:
1028
diff
changeset
|
8 SRCS_EXCLUDE = #CreatePolygonFromSceneGraph.cc #CreatePolygon.cc |
1028 | 9 #SRCS_EXCLUDE = CreatePolygon.cc |
539 | 10 SRCS = $(filter-out $(SRCS_EXCLUDE),$(SRCS_TMP)) |
11 OBJS = $(SRCS:.cc=.o) | |
12 | |
13 CC = spu-g++ | |
768
06302c1dc87d
add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
747
diff
changeset
|
14 CFLAGS = -Wall -fno-exceptions -fno-rtti $(OPT)#-DDEBUG |
779 | 15 |
539 | 16 INCLUDE = -I$(TOP)/include/TaskManager -I. -I.. |
17 LIBS = -L$(TOP)/TaskManager -lspemanager | |
18 | |
19 .SUFFIXES: .cc .o | |
20 | |
21 .cc.o: | |
22 $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@ | |
23 | |
24 all: $(TARGET) | |
25 | |
26 $(TARGET): $(OBJS) | |
747 | 27 $(CC) $(OPT) -o $@ $(OBJS) $(TASK_OBJS) $(LIBS) |
539 | 28 |
29 clean: | |
30 rm -f $(TARGET) $(OBJS) | |
31 rm -f *~ \#* |