view example/basic/Makefile @ 1491:fd09cdf2f531 draft

select CPU_TYPE
author Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
date Wed, 08 Aug 2012 13:45:00 +0900
parents 6b451d72daf5
children
line wrap: on
line source

default: macosx

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

fifo64: FORCE
	@echo "Make for Mac OS X 64bit mode"
	@$(MAKE) -f Makefile.macosx ABIBIT=64

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

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

gpu: FORCE
	@echo "Make for GPU (open cl)"
	@$(MAKE) -f Makefile.gpu

FORCE:

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