view example/Bulk/Makefile @ 2050:26dd777ba95d draft

add User API
author Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
date Thu, 28 Jan 2016 15:43:36 +0900
parents 7dc90c83a787
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"
	@$(MAKE) -f Makefile.gpu

cuda: FORCE
	@echo "Make for CUDA"
	@$(MAKE) -f Makefile.cuda

FORCE:

test:
	./twice
	./twice -task_array_num 10

parallel-test: macosx
	@$(MAKE) -f Makefile.macosx test

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