view Renderer/Engine/Makefile @ 656:d0b8860c17f8

remove global variable "sgroot" , add SgChange.{cc, h} SgMain.cc SgRootChange.{cc, h}
author hiroki@henri.cr.ie.u-ryukyu.ac.jp
date Wed, 25 Nov 2009 21:56:14 +0900
parents b273767962b8
children 088f64aad843
line wrap: on
line source

default: macosx FORCE

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

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

linux: FORCE
	@echo "Make for Linux"
	@$(MAKE) -f Makefile.linux

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

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

linux-depend: FORCE
	@$(MAKE) -f Makefile.linux 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
	@$(MAKE) -f Makefile.linux clean
	rm -f depend.inc