Mercurial > hg > Game > Cerium
view example/many_task/spe/Makefile @ 1001:ca59327dccab draft
error fix.
author | root@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Thu, 21 Oct 2010 21:39:47 +0900 |
parents | 178fbcc81fda |
children |
line wrap: on
line source
include ../Makefile.def TARGET = ../spe-main SRCS_TMP = $(wildcard *.cc) SRCS = $(filter-out $(SRCS_EXCLUDE),$(SRCS_TMP)) OBJS = $(SRCS:.cc=.o) CC = spu-g++ CFLAGS += -fno-exceptions -fno-rtti #-DDEBUG INCLUDE = -I../${CERIUM}/include/TaskManager -I. -I.. LIBS = -L../${CERIUM}/TaskManager -lspemanager .SUFFIXES: .cc .o .cc.o: $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@ all: $(TARGET) $(TARGET): $(OBJS) $(CC) -o $@ $(OBJS) $(TASK_OBJS) $(LIBS) clean: rm -f $(TARGET) $(OBJS) rm -f *~ \#*