Mercurial > hg > Game > CbCTaskManager
diff examples/treedependtask/Makefile @ 8:07fab8c367b2
made src directory and move all source files into it.
support autocont and automake tools.
author | kent <kent@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 08 Jan 2010 14:40:49 +0900 |
parents | |
children | f06fb0370caf |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/examples/treedependtask/Makefile Fri Jan 08 14:40:49 2010 +0900 @@ -0,0 +1,32 @@ +#CC = gcc +CbCC = ~/WorkSpace/Mercurial/build_cbc44/INSTALL_DIR/bin/gcc +CC = $(CbCC) + +TaskManagerDir = ../../CbCTaskManager + +LDFLAGS = -L$(TaskManagerDir) +LIBS = -lFifoManager + +ENVIRONMENT=Fifo +#ENVIRONMENT=Cell + +INCLUDE = -I$(TaskManagerDir) -I$(TaskManagerDir)/user -I. -I$(TaskManagerDir)/$(ENVIRONMENT) +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 + + +