Mercurial > hg > Members > kono > Cerium
annotate example/Simple/spe/Makefile @ 641:0692b08f1cd6
Regression on Mac OS X
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 21 Nov 2009 10:06:34 +0900 |
parents | d433fc37587d |
children | 7e937a1cd121 |
rev | line source |
---|---|
634 | 1 include ../Makefile.def |
2 | |
3 TARGET = ../spe-main | |
4 | |
5 SRCS_TMP = $(wildcard *.cc) | |
6 SRCS = $(filter-out $(SRCS_EXCLUDE),$(SRCS_TMP)) | |
7 OBJS = $(SRCS:.cc=.o) | |
8 | |
641
0692b08f1cd6
Regression on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
636
diff
changeset
|
9 CC = spu-g++ -DABIBIT=$(ABIBIT) $(SIMPLE_TASK) |
634 | 10 CFLAGS = -g -Wall -fno-exceptions -fno-rtti #-DDEBUG |
11 INCLUDE = -I../${CERIUM}/include/TaskManager -I. -I.. | |
12 LIBS = -L../${CERIUM}/TaskManager -lspemanager | |
13 | |
14 .SUFFIXES: .cc .o | |
15 | |
16 .cc.o: | |
17 $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@ | |
18 | |
19 all: $(TARGET) | |
20 | |
21 $(TARGET): $(OBJS) | |
22 $(CC) -o $@ $(OBJS) $(TASK_OBJS) $(LIBS) | |
23 | |
24 clean: | |
25 rm -f $(TARGET) $(OBJS) | |
26 rm -f *~ \#* |