Mercurial > hg > Members > kono > Cerium
view example/word_count/spe/Makefile @ 665:4470ff271c5a
word_count_test
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 03 Dec 2009 01:16:34 +0900 |
parents | 72b73beb3325 |
children | a8b6ee80c108 |
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 $(OPT) #-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 *~ \#*