Mercurial > hg > Game > Cerium
view example/Null/spe/Makefile @ 1299:f0e805c09ed6 draft
minor fix xml_walk and pickup_float, not work yet.
author | Yutaka_Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 04 Dec 2011 18:50:53 +0900 |
parents | e38a4f3e238d |
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++ -D__CERIUM_CELL__ -DABIBIT=$(ABIBIT) CFLAGS = -O9 -g -Wall -fno-exceptions -fno-rtti#-DDEBUG INCLUDE = -I../${CERIUM}/include/TaskManager -I. -I.. LIBS = -L../${CERIUM}/TaskManager -lspemanager -Wl,--gc-sections .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 *~ \#*