Mercurial > hg > Game > Cerium
view old/simple_render/spe/Makefile @ 542:109a33b72b10 draft
continue...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 12 Oct 2009 15:48:40 +0900 |
parents | 3bc98f6d31ff |
children | a0ea7d9b6faf |
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 *~ \#*