view example/Pipeline/spe/Makefile @ 1251:6da91e7cbffb draft

improve create From COLLADA
author Taiki TAIRA <e095767@ie.u-ryukyu.ac.jp>
date Fri, 11 Nov 2011 18:17:26 +0900
parents 62b72c6199f3
children
line wrap: on
line source

include ../Makefile.def

TARGET = ../spe-main

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

CC      = spu-g++ -DABIBIT=$(ABIBIT)  $(OPT)
CFLAGS  = -g -Wall -fno-exceptions -fno-rtti #-DDEBUG
INCLUDE = -I../${CERIUM}/include/TaskManager -I. -I..
LIBS = -L../${CERIUM}/TaskManager -lspemanager

.SUFFIXES: .cc .o

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

all: $(TARGET)

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

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