annotate example/word_count/Makefile @ 1538:fac06524090b draft

add gpu task wordcount. But not work print
author Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
date Sun, 16 Dec 2012 20:52:55 +0900
parents 852ed17d8af1
children 0296fa2dfe6d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
393
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
1 default: macosx
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
2
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
3 macosx: FORCE
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
4 @echo "Make for Mac OS X"
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
5 @$(MAKE) -f Makefile.macosx
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
6
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
7 linux: FORCE
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
8 @echo "Make for Linux"
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
9 @$(MAKE) -f Makefile.linux
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
10
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
11 cell: FORCE
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
12 @echo "Make for CELL (Cell)"
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
13 @$(MAKE) -f Makefile.cell
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
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
393
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
19 FORCE:
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
20
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
21 clean:
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
22 @$(MAKE) -f Makefile.macosx clean
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
23 @$(MAKE) -f Makefile.linux clean
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
24 @$(MAKE) -f Makefile.cell clean