view TaskManager/Test/test_render/spe/Makefile @ 149:f85ad3769897 draft

SceneGraph.cpp での texture_list fix
author gongo@charles.cr.ie.u-ryukyu.ac.jp
date Tue, 02 Dec 2008 18:58:08 +0900
parents 74341c8bf935
children 18c42658e0e7
line wrap: on
line source

include ../Makefile.def

TARGET = ../spe-main

SRCS_TMP = $(wildcard *.cpp)
SRCS_EXCLUDE = CreatePolygon.cpp
SRCS = $(filter-out $(SRCS_EXCLUDE),$(SRCS_TMP))
OBJS = $(SRCS:.cpp=.o)

CC      = spu-g++
CFLAGS  = -O9 -g -fno-exceptions -fno-rtti #-DDEBUG
INCLUDE = -I$(CERIUM)/include/TaskManager -I. -I..
LIBS    = -L$(CERIUM)/TaskManager -lspemanager

.SUFFIXES: .cpp .o

.cpp.o:
	$(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@

all: $(TARGET)

$(TARGET): $(OBJS)
	$(CC) -o $@ $(OBJS) $(TASK_OBJS) $(LIBS)

clean:
	rm -f $(TARGET) $(OBJS)
	rm -f *~ \#*