view spe/Makefile @ 0:e66ea5014aa1

first commit. But It move "Bulk".
author tkaito
date Tue, 15 Jun 2010 03:14:31 +0900
parents
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++
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)

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