view Makefile @ 9:8a614bb55d00

change Makefile
author koba <koba@cr.ie.u-ryukyu.ac.jp>
date Wed, 15 Dec 2010 15:49:59 +0900
parents 23d54565aa7b
children c7e7971a76d0
line wrap: on
line source

default: macosx FORCE

demo:
	@echo "Make Old Dandy"
	@$(MAKE) -f Makefile.demo

macosx: 
	@echo "Make for Mac OS X"
	@$(MAKE) -f Makefile.mac

fifo64: FORCE
	@$(MAKE) -f Makefile.macosx ABIBIT=64

cell: FORCE
	@echo "Make for PS3 (Cell)"
	@$(MAKE) -f Makefile.ps3

macosx-depend: FORCE
	@$(MAKE) -f Makefile.macosx depend

cell-depend: FORCE
	@$(MAKE) -f Makefile.cell depend

FORCE:
	-mkdir -p ../../include/Cerium
	rsync `find . -name Test -prune -or -name spe -prune -or -name task -prune -or -name '*.h' -print` ../../include/Cerium


clean:
	@$(MAKE) -f Makefile.macosx clean
	@$(MAKE) -f Makefile.cell clean
	rm -f depend.inc