Mercurial > hg > Game > Cerium
annotate example/HelloWorld/spe/Makefile @ 460:433892ba596b draft
fix Scheduler.h
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 29 Sep 2009 11:51:25 +0900 |
parents | 0c9c9906d777 |
children | 30dd8a3deb4a |
rev | line source |
---|---|
109 | 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++ | |
160 | 10 CFLAGS = -O9 -g -Wall -fno-exceptions -fno-rtti#-DDEBUG |
253
0c9c9906d777
usr_help_str is nessesary for example
tkaito@localhost.localdomain
parents:
160
diff
changeset
|
11 INCLUDE = -I../${CERIUM}/include/TaskManager -I. -I.. |
0c9c9906d777
usr_help_str is nessesary for example
tkaito@localhost.localdomain
parents:
160
diff
changeset
|
12 LIBS = -L../${CERIUM}/TaskManager -lspemanager -Wl,--gc-sections |
109 | 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 *~ \#* |