diff Renderer/Engine/Makefile @ 539:3bc98f6d31ff draft

Reorganization..
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 12 Oct 2009 09:39:35 +0900
parents Renderer/test_render/Makefile@15bfacccde99
children 1a31b8820a4d
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Renderer/Engine/Makefile	Mon Oct 12 09:39:35 2009 +0900
@@ -0,0 +1,41 @@
+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/*bin/ps3-video-mode -v 133
+	./test_nogl -video fb -width 1920 -height 1080 $(CPU) $(SG)
+
+run-ps3tv:
+	./test_nogl -video fb -width 576 -height 384 -bpp 32
+