Mercurial > hg > Game > Cerium
view Renderer/Engine/spe/Makefile @ 1142:801d57ae1e29 draft
cut compile CreatePolygonTask on spe side because not enough spe memory. We have to use code loading.
And I found light error. see you tomorrow. (This version can work Mac OSX and Cell arch.)
author | yutaka@localhost.localdomain |
---|---|
date | Thu, 17 Feb 2011 05:23:34 +0900 |
parents | 6043da6e48f1 |
children |
line wrap: on
line source
include ../Makefile.def TARGET = ../spe-main TOP = ../$(CERIUM) SRCS_TMP = $(wildcard *.cc) SRCS_EXCLUDE = CreatePolygonFromSceneGraph.cc #CreatePolygon.cc #SRCS_EXCLUDE = CreatePolygon.cc SRCS = $(filter-out $(SRCS_EXCLUDE),$(SRCS_TMP)) OBJS = $(SRCS:.cc=.o) CC = spu-g++ CFLAGS = -Wall -fno-exceptions -fno-rtti $(OPT)#-DDEBUG INCLUDE = -I$(TOP)/include/TaskManager -I. -I.. LIBS = -L$(TOP)/TaskManager -lspemanager .SUFFIXES: .cc .o .cc.o: $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@ all: $(TARGET) $(TARGET): $(OBJS) $(CC) $(OPT) -o $@ $(OBJS) $(TASK_OBJS) $(LIBS) clean: rm -f $(TARGET) $(OBJS) rm -f *~ \#*