Mercurial > hg > Game > Cerium
view TaskManager/Test/simple_render/spe/Makefile @ 109:028ffc9c0375 draft
Cerium cvs version
author | gongo@gendarme.local |
---|---|
date | Wed, 12 Nov 2008 17:39:33 +0900 |
parents | 3e331f7576a1 |
children |
line wrap: on
line source
TARGET = ../spe-main SRCS_TMP = $(wildcard *.cpp) SRCS_EXCLUDE = CreatePolygonPack.cpp # ½ü³° SRCS = $(filter-out $(SRCS_EXCLUDE),$(SRCS_TMP)) OBJS = $(SRCS:.cpp=.o) CC = spu-g++ CFLAGS = -O9 -g -Wall -fno-exceptions -fno-rtti #-DDEBUG INCLUDE = -I../../../../include/TaskManager -I. -I.. LIBS = -L../../.. -lspemanager# -lm #EXTRA_CFLAGS = `sdl-config --cflags` #EXTRA_LIBS = `sdl-config --libs` .SUFFIXES: .cpp .o .cpp.o: $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@ all: $(TARGET) $(TARGET): $(OBJS) $(CC) -o $@ $(OBJS) $(TASK_OBJS) $(LIBS) $(EXTRA_LIBS) clean: rm -f $(TARGET) $(OBJS) rm -f *~ \#*