view example/multiply/Makefile @ 1891:e0d465efc57e draft

directory reogranization for Cell/Fifo/ManyCore/Gpu
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 04 Jan 2014 19:10:32 +0900
parents f71632373220
children 4eefec26e3e2
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.gpu clean