Mercurial > hg > Game > Cerium
view example/word_count/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 | 7dc90c83a787 |
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 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