diff TaskManager/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 67e50779feb4
children
line wrap: on
line diff
--- a/TaskManager/Makefile	Fri May 02 20:44:05 2014 +0900
+++ b/TaskManager/Makefile	Mon May 05 22:11:49 2014 +0900
@@ -3,6 +3,7 @@
 TAGS       = gtags
 TAGSOPTION = 
 TAGSFILE   = GPATH GRTAGS GSYMS GTAGS
+EXAM = ../example
 
 default: parallel
 
@@ -31,6 +32,14 @@
 	-mkdir -p ../include/TaskManager
 	rsync `find . -name Test -prune -or -name '*.h' -print` ../include/TaskManager
 
+parallel-test:
+	@echo "Bulk"
+	@cd $(EXAM)/Bulk;make clean;make parallel-test
+	@echo "FFT"
+	@cd $(EXAM)/fft;make clean;make parallel-test
+	@echo "WordCount"
+	@cd $(EXAM)/word_count;make clean;make parallel-test
+
 distclean: clean
 	rm -f $(TAGSFILE)
 	$(MAKE) -f Makefile.cell celldistclean