view TaskManager/Test/test_render/spe/Makefile @ 203:1eba8570808c draft

fix CreateSpan::run
author gongo@localhost.localdomain
date Mon, 26 Jan 2009 18:30:35 +0900
parents 6694da357750
children fe6a440c5ff3
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 -Wall -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 *~ \#*