view TaskManager/Test/test_render/spe/Makefile @ 109:5c194c71eca8

Cerium cvs version
author gongo@gendarme.local
date Wed, 12 Nov 2008 17:39:33 +0900
parents
children 3fd24be89d02
line wrap: on
line source

include ../Makefile.def

TARGET = ../spe-main

SRCS_TMP = $(wildcard *.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 *~ \#*