Mercurial > hg > Game > Cerium
annotate example/word_count/Makefile @ 1884:d28f0c5489c3 draft
ppe conditional wait done.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 03 Jan 2014 16:32:21 +0900 |
parents | 0296fa2dfe6d |
children | f19885ea776d |
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 | |
1884
d28f0c5489c3
ppe conditional wait done.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1849
diff
changeset
|
15 test: |
d28f0c5489c3
ppe conditional wait done.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1849
diff
changeset
|
16 ./word_count -file c.txt |
d28f0c5489c3
ppe conditional wait done.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1849
diff
changeset
|
17 |
1538
fac06524090b
add gpu task wordcount. But not work print
Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
parents:
946
diff
changeset
|
18 gpu: FORCE |
fac06524090b
add gpu task wordcount. But not work print
Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
parents:
946
diff
changeset
|
19 @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
|
20 @$(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
|
21 |
1849 | 22 gpu-test: FORCE |
23 @echo "Make for OpenCL" | |
24 @$(MAKE) -f Makefile.gpu test | |
25 | |
393 | 26 FORCE: |
27 | |
28 clean: | |
29 @$(MAKE) -f Makefile.macosx clean | |
30 @$(MAKE) -f Makefile.linux clean | |
1849 | 31 @$(MAKE) -f Makefile.cell clean |