Mercurial > hg > Game > Cerium
annotate example/word_count/spe/Makefile @ 1130:5addc6c1d5c4 draft
fix.
author | root@dolphins.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Sun, 13 Feb 2011 22:34:44 +0900 |
parents | 852ed17d8af1 |
children |
rev | line source |
---|---|
393 | 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 | |
9 CC = spu-g++ | |
946
852ed17d8af1
unify word count examples....
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
665
diff
changeset
|
10 CFLAGS = -Wall -fno-exceptions -fno-rtti $(OPT) |
393 | 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) | |
665 | 26 rm -f *~ \#* |