Mercurial > hg > Applications > Grep
diff regexParser/cerium/Makefile @ 266:e51cac73e42a
CeriumGrep start
author | masa |
---|---|
date | Thu, 28 Jan 2016 21:14:34 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/regexParser/cerium/Makefile Thu Jan 28 21:14:34 2016 +0900 @@ -0,0 +1,40 @@ +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