view example/synthesizer/Makefile @ 2020:6849865f96eb draft

add synthesizer project
author Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
date Tue, 15 Jul 2014 17:23:40 +0900
parents
children 8c3c826ba4d5
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

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

test:
	./word_count -file c.txt

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

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


FORCE:

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