view Renderer/Engine/spe/Makefile @ 860:649e4cb84683

Still on the way
author yutaka@localhost.localdomain
date Fri, 18 Jun 2010 01:30:06 +0900
parents 4455e7b0caf3
children cb170249c752
line wrap: on
line source

include ../Makefile.def

TARGET = ../spe-main

TOP = ../$(CERIUM)

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

CC      = spu-g++
CFLAGS  = -Wall -fno-exceptions -fno-rtti $(OPT)#-DDEBUG 

INCLUDE = -I$(TOP)/include/TaskManager -I. -I..
LIBS    = -L$(TOP)/TaskManager -lspemanager

.SUFFIXES: .cc .o

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

all: $(TARGET)

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

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