view 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
line wrap: on
line source

#CC = gcc
CbCC = ~/WorkSpace/Mercurial/build_cbc44/INSTALL_DIR/bin/gcc 
CC = $(CbCC)

BASEDIR = ../../../build_taskamanger/INSTALL_DIR

LDFLAGS = -L$(BASEDIR)/lib
LIBS = -lTaskManager

ENVIRONMENT=Fifo
#ENVIRONMENT=Cell

INCLUDE = -I$(BASEDIR)/include -I.
CFLAGS = -Wall -g -O0 $(INCLUDE) -DDEBUG

.SUFFIXES: .cbc .c .o

all: testmanager

.c.o:
	$(CC) -c $(CFLAGS) -o $@ $^
.cbc.o:
	$(CbCC) -c $(CFLAGS) -o $@ $^

testmanager: testmanager.o taskinit.o
	$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)

clean:
	rm -f *.o testmanager