view example/fft/Makefile @ 1971:fdb3ed0bc51d draft

fix
author Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
date Tue, 25 Feb 2014 16:21:59 +0900
parents 9f5dbb845689
children 7dc90c83a787
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.fifo 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 OpenCL"
	@$(MAKE) -f Makefile.gpu

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

test: gpu
	./fft -file lena512.pgm -gpu -g

FORCE:

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