view example/bm_search/Makefile @ 2069:26aa08c9a1de draft default tip

cuda example fix
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 12 Feb 2017 10:04:55 +0900
parents f786ffb2a198
children
line wrap: on
line source

default: macosx

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

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

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

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

test:
	./bm_search -file c.txt -cpu 4 -sw doing -br

FORCE:

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