diff 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
line wrap: on
line diff
--- a/example/word_count/Makefile	Fri May 02 20:44:05 2014 +0900
+++ b/example/word_count/Makefile	Mon May 05 22:11:49 2014 +0900
@@ -12,20 +12,24 @@
 	@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
 
-gpu: FORCE
-	@echo "Make for OpenCL"
-	@$(MAKE) -f Makefile.gpu
+parallel-test: macosx
+	@$(MAKE) -f Makefile.macosx test
 
 gpu-test: FORCE
 	@echo "Make for OpenCL"
 	@$(MAKE) -f Makefile.gpu test
 
-cuda: FORCE
-	@echo "Make for Cuda"
-	@$(MAKE) -f Makefile.cuda
 
 FORCE: