Mercurial > hg > Game > Cerium
comparison example/word_count/Makefile @ 2003:7dc90c83a787 draft
change set_last(t to next). run test at compilation time
author | Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 05 May 2014 22:11:49 +0900 |
parents | f19885ea776d |
children |
comparison
equal
deleted
inserted
replaced
2002:bbc8802bb0fd | 2003:7dc90c83a787 |
---|---|
10 | 10 |
11 cell: FORCE | 11 cell: FORCE |
12 @echo "Make for CELL (Cell)" | 12 @echo "Make for CELL (Cell)" |
13 @$(MAKE) -f Makefile.cell | 13 @$(MAKE) -f Makefile.cell |
14 | 14 |
15 gpu: FORCE | |
16 @echo "Make for OpenCL" | |
17 @$(MAKE) -f Makefile.gpu | |
18 | |
19 cuda: FORCE | |
20 @echo "Make for Cuda" | |
21 @$(MAKE) -f Makefile.cuda | |
22 | |
15 test: | 23 test: |
16 ./word_count -file c.txt | 24 ./word_count -file c.txt |
17 | 25 |
18 gpu: FORCE | 26 parallel-test: macosx |
19 @echo "Make for OpenCL" | 27 @$(MAKE) -f Makefile.macosx test |
20 @$(MAKE) -f Makefile.gpu | |
21 | 28 |
22 gpu-test: FORCE | 29 gpu-test: FORCE |
23 @echo "Make for OpenCL" | 30 @echo "Make for OpenCL" |
24 @$(MAKE) -f Makefile.gpu test | 31 @$(MAKE) -f Makefile.gpu test |
25 | 32 |
26 cuda: FORCE | |
27 @echo "Make for Cuda" | |
28 @$(MAKE) -f Makefile.cuda | |
29 | 33 |
30 FORCE: | 34 FORCE: |
31 | 35 |
32 clean: | 36 clean: |
33 @$(MAKE) -f Makefile.macosx clean | 37 @$(MAKE) -f Makefile.macosx clean |