view example/bm_search/Makefile @ 2064:f786ffb2a198 draft

add bm.h
author Nozomi
date Wed, 17 Feb 2016 17:37:06 +0900
parents a8f4227d6a21
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