view TaskManager/Test/test_render/Makefile @ 419:9348e49f63cf

merge
author Hiroki NAKASONE <hiroki@cr.ie.u-ryukyu.ac.jp>
date Wed, 23 Sep 2009 21:24:38 +0900
parents 68e199a4ea7b
children 63741e2dc6cb
line wrap: on
line source

default: macosx

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

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

linux: FORCE SGList.h
	@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:

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

SGList.h: xml_file/*.xml
	perl tools/create_sglist.pl xml_file/*.xml 

run-ps3:
	/usr/sbin/ps3-video-mode -v 133
	./test_nogl -video fb -width 1920 -height 1080

run-ps3tv:
	./test_nogl -video fb -width 576 -height 384 -bpp 32