annotate example/share_task/spe/Makefile @ 639:91d03774c407 draft

fix
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 19 Nov 2009 18:45:24 +0900
parents 2c775d229cc6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
1 include ../Makefile.def
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
2
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
3 TARGET = ../spe-main
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
4
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
5 SRCS_TMP = $(wildcard *.cc)
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
6 SRCS = $(filter-out $(SRCS_EXCLUDE),$(SRCS_TMP))
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
7 OBJS = $(SRCS:.cc=.o)
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
8
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
9 CC = spu-g++
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
10 CFLAGS = -g -Wall -fno-exceptions -fno-rtti #-DDEBUG
256
2c775d229cc6 fix examples
tkaito@localhost.localdomain
parents: 109
diff changeset
11 INCLUDE = -I../${CERIUM}/include/TaskManager -I. -I..
2c775d229cc6 fix examples
tkaito@localhost.localdomain
parents: 109
diff changeset
12 LIBS = -L../${CERIUM}/TaskManager -lspemanager
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
13
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
14 .SUFFIXES: .cc .o
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
15
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
16 .cc.o:
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
17 $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
18
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
19 all: $(TARGET)
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
20
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
21 $(TARGET): $(OBJS)
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
22 $(CC) -o $@ $(OBJS) $(TASK_OBJS) $(LIBS)
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
23
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
24 clean:
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
25 rm -f $(TARGET) $(OBJS)
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
26 rm -f *~ \#*