Mercurial > hg > Members > yutaka > manager
view Makefile @ 5:39d405bc46b7
add fb
author | yutaka@localhost.localdomain |
---|---|
date | Sat, 10 Apr 2010 16:29:22 +0900 |
parents | c2ce9efe2a52 |
children |
line wrap: on
line source
PPETARGET = main SPETARGET = spe-main .SUFFIXES:.cc .o .h PPECC = g++ PPELIB = -lspe2 SPECC = spu-g++ SPELIB = INC = -I include PPESRC = $(shell ls ppe/*.cc) SPESRC = $(shell ls spe/*.cc) TASKSRC = $(shell ls task/*.cc) all: $(PPETARGET) $(SPETARGET) $(PPETARGET): $(PPEOBJ) $(PPECC) $(PPELIB) $(INC) $(PPESRC) $(TASKSRC) -o $@ $(SPETARGET): $(SPEOBJ) $(SPECC) $(SPELIB) $(INC) $(SPESRC) $(TASKSRC) -o $@ run: sudo ./$(PPETARGET) clean: rm -f $(PPETARGET) $(SPETARGET) rm -f ppe/*.o spe/*.o task/*.o rm -f ppe/*~ spe/*~ ppe/*.~ spe/*.~ task/*.~