diff TaskManager/Test/test_render/Makefile @ 321:f64d75473f95

merge 317
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 10 Jun 2009 15:23:25 +0900
parents 7efc5ede2c03
children e9f402fab133
line wrap: on
line diff
--- a/TaskManager/Test/test_render/Makefile	Wed Jun 10 15:12:39 2009 +0900
+++ b/TaskManager/Test/test_render/Makefile	Wed Jun 10 15:23:25 2009 +0900
@@ -1,14 +1,14 @@
 default: macosx
 
-macosx: FORCE
+macosx: FORCE SGList.h
 	@echo "Make for Mac OS X"
 	@$(MAKE) -f Makefile.macosx
 
-cell: FORCE
+cell: FORCE SGList.h
 	@echo "Make for PS3 (Cell)"
 	@$(MAKE) -f Makefile.cell
 
-linux: FORCE
+linux: FORCE SGList.h
 	@echo "Make for Linux"
 	@$(MAKE) -f Makefile.linux
 
@@ -27,4 +27,15 @@
 	@$(MAKE) -f Makefile.macosx clean
 	@$(MAKE) -f Makefile.cell clean
 	@$(MAKE) -f Makefile.linux clean
-	rm -f depend.inc
\ No newline at end of file
+	rm -f depend.inc
+
+SGList.h: xml_file/*.xml
+	perl tools/create_sglist.pl xml_file/*.xml 
+
+run-ps3:
+	ps3-video-mode -v 133
+	./test_nogl -video fb -width 1980 -height 1080
+
+run-ps3tv:
+	./test_nogl -video fb -width 576 -height 384 -bpp 32
+