view TaskManager/Test/test_render/spe/Makefile @ 243:c4918a1fb6c9 draft

rm warning
author e065746@localhost.localdomain
date Sun, 31 May 2009 16:26:20 +0900
parents fe6a440c5ff3
children fcd53a8b777c
line wrap: on
line source

include ../Makefile.def

TARGET = ../spe-main

TOP = ../$(CERIUM)

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

CC      = spu-g++
CFLAGS  = -O9 -Wall -g -fno-exceptions -fno-rtti #-DDEBUG
INCLUDE = -I$(TOP)/include/TaskManager -I. -I..
LIBS    = -L$(TOP)/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 *~ \#*