view Renderer/Engine/spe/Makefile @ 1020:58b284d6506f draft

create_pp_task fix. not done.
author tkaito
date Sun, 07 Nov 2010 04:24:24 +0900
parents 63a08f3a468a
children 41dd7cf4f678
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 *~ \#*