annotate examples/treedependtask/Makefile @ 13:f06fb0370caf

add pthread code that has not been debuged yet.
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Fri, 08 Jan 2010 20:00:01 +0900
parents 07fab8c367b2
children b5bbbeec1fe8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
07fab8c367b2 made src directory and move all source files into it.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 #CC = gcc
07fab8c367b2 made src directory and move all source files into it.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 CbCC = ~/WorkSpace/Mercurial/build_cbc44/INSTALL_DIR/bin/gcc
07fab8c367b2 made src directory and move all source files into it.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 CC = $(CbCC)
07fab8c367b2 made src directory and move all source files into it.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4
13
f06fb0370caf add pthread code that has not been debuged yet.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 8
diff changeset
5 BASEDIR = ../../../build_taskamanger/INSTALL_DIR
8
07fab8c367b2 made src directory and move all source files into it.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6
13
f06fb0370caf add pthread code that has not been debuged yet.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 8
diff changeset
7 LDFLAGS = -L$(BASEDIR)/lib
f06fb0370caf add pthread code that has not been debuged yet.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 8
diff changeset
8 LIBS = -lTaskManager
8
07fab8c367b2 made src directory and move all source files into it.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
9
07fab8c367b2 made src directory and move all source files into it.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 ENVIRONMENT=Fifo
07fab8c367b2 made src directory and move all source files into it.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 #ENVIRONMENT=Cell
07fab8c367b2 made src directory and move all source files into it.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
12
13
f06fb0370caf add pthread code that has not been debuged yet.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 8
diff changeset
13 INCLUDE = -I$(BASEDIR)/include -I.
8
07fab8c367b2 made src directory and move all source files into it.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 CFLAGS = -Wall -g -O0 $(INCLUDE) -DDEBUG
07fab8c367b2 made src directory and move all source files into it.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
15
07fab8c367b2 made src directory and move all source files into it.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
16 .SUFFIXES: .cbc .c .o
07fab8c367b2 made src directory and move all source files into it.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
17
07fab8c367b2 made src directory and move all source files into it.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
18 all: testmanager
07fab8c367b2 made src directory and move all source files into it.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
19
07fab8c367b2 made src directory and move all source files into it.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
20 .c.o:
07fab8c367b2 made src directory and move all source files into it.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
21 $(CC) -c $(CFLAGS) -o $@ $^
07fab8c367b2 made src directory and move all source files into it.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
22 .cbc.o:
07fab8c367b2 made src directory and move all source files into it.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
23 $(CbCC) -c $(CFLAGS) -o $@ $^
07fab8c367b2 made src directory and move all source files into it.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
24
07fab8c367b2 made src directory and move all source files into it.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
25 testmanager: testmanager.o taskinit.o
07fab8c367b2 made src directory and move all source files into it.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
26 $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
07fab8c367b2 made src directory and move all source files into it.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
27
07fab8c367b2 made src directory and move all source files into it.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
28 clean:
07fab8c367b2 made src directory and move all source files into it.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
29 rm -f *.o testmanager
07fab8c367b2 made src directory and move all source files into it.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
30
07fab8c367b2 made src directory and move all source files into it.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
31
07fab8c367b2 made src directory and move all source files into it.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
32