Mercurial > hg > Game > Cerium
annotate example/word_count/Makefile @ 1849:0296fa2dfe6d draft
add test
author | Shinji KONO |
---|---|
date | Sat, 21 Dec 2013 09:00:27 +0900 |
parents | fac06524090b |
children | d28f0c5489c3 |
rev | line source |
---|---|
393 | 1 default: macosx |
2 | |
3 macosx: FORCE | |
4 @echo "Make for Mac OS X" | |
5 @$(MAKE) -f Makefile.macosx | |
6 | |
7 linux: FORCE | |
8 @echo "Make for Linux" | |
9 @$(MAKE) -f Makefile.linux | |
10 | |
11 cell: FORCE | |
12 @echo "Make for CELL (Cell)" | |
13 @$(MAKE) -f Makefile.cell | |
14 | |
1538
fac06524090b
add gpu task wordcount. But not work print
Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
parents:
946
diff
changeset
|
15 gpu: FORCE |
fac06524090b
add gpu task wordcount. But not work print
Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
parents:
946
diff
changeset
|
16 @echo "Make for OpenCL" |
fac06524090b
add gpu task wordcount. But not work print
Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
parents:
946
diff
changeset
|
17 @$(MAKE) -f Makefile.gpu |
fac06524090b
add gpu task wordcount. But not work print
Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
parents:
946
diff
changeset
|
18 |
1849 | 19 gpu-test: FORCE |
20 @echo "Make for OpenCL" | |
21 @$(MAKE) -f Makefile.gpu test | |
22 | |
393 | 23 FORCE: |
24 | |
25 clean: | |
26 @$(MAKE) -f Makefile.macosx clean | |
27 @$(MAKE) -f Makefile.linux clean | |
1849 | 28 @$(MAKE) -f Makefile.cell clean |