Mercurial > hg > Members > yutaka > manager
view Makefile @ 3:8b4d6bf8c43d
add entry_head function
author | yutaka@localhost.localdomain |
---|---|
date | Wed, 07 Apr 2010 17:35:34 +0900 |
parents | dcd83cefb980 |
children | c2ce9efe2a52 |
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 $@ clean: rm -f $(PPETARGET) $(SPETARGET) rm -f ppe/*.o spe/*.o rm -f ppe/*~ spe/*~ ppe/*.~ spe/*.~