Mercurial > hg > Game > CbCTaskManager
view examples/treedependtask/Makefile @ 17:b5bbbeec1fe8
run on Mac OS X with easy packaged CbC
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 13 Jan 2010 16:06:17 +0900 |
parents | f06fb0370caf |
children |
line wrap: on
line source
#CC = gcc CbCC = cbc-gcc -m64 CC = $(CbCC) BASEDIR = ../../src LDFLAGS = -L$(BASEDIR) LIBS = -lTaskManager ENVIRONMENT=Fifo #ENVIRONMENT=Cell INCLUDE = -I$(BASEDIR)/userinclude -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