annotate example/Null/spe/Makefile @ 1299:f0e805c09ed6 draft

minor fix xml_walk and pickup_float, not work yet.
author Yutaka_Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp>
date Sun, 04 Dec 2011 18:50:53 +0900
parents e38a4f3e238d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1285
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 include ../Makefile.def
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 TARGET = ../spe-main
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 SRCS_TMP = $(wildcard *.cc)
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 SRCS = $(filter-out $(SRCS_EXCLUDE),$(SRCS_TMP))
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 OBJS = $(SRCS:.cc=.o)
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
8
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 CC = spu-g++ -D__CERIUM_CELL__ -DABIBIT=$(ABIBIT)
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 CFLAGS = -O9 -g -Wall -fno-exceptions -fno-rtti#-DDEBUG
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 INCLUDE = -I../${CERIUM}/include/TaskManager -I. -I..
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 LIBS = -L../${CERIUM}/TaskManager -lspemanager -Wl,--gc-sections
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
13
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 .SUFFIXES: .cc .o
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
15
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
16 .cc.o:
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
17 $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
18
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
19 all: $(TARGET)
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
20
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
21 $(TARGET): $(OBJS)
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
22 $(CC) -o $@ $(OBJS) $(TASK_OBJS) $(LIBS)
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
23
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
24 clean:
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
25 rm -f $(TARGET) $(OBJS)
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
26 rm -f *~ \#*