comparison 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
comparison
equal deleted inserted replaced
2002:bbc8802bb0fd 2003:7dc90c83a787
1 include ./Makefile.def 1 include ./Makefile.def
2 2
3 TAGS = gtags 3 TAGS = gtags
4 TAGSOPTION = 4 TAGSOPTION =
5 TAGSFILE = GPATH GRTAGS GSYMS GTAGS 5 TAGSFILE = GPATH GRTAGS GSYMS GTAGS
6 EXAM = ../example
6 7
7 default: parallel 8 default: parallel
8 9
9 fifo: FORCE 10 fifo: FORCE
10 @$(MAKE) -f Makefile.fifo 11 @$(MAKE) -f Makefile.fifo
28 @$(MAKE) -f Makefile.cuda 29 @$(MAKE) -f Makefile.cuda
29 30
30 FORCE: 31 FORCE:
31 -mkdir -p ../include/TaskManager 32 -mkdir -p ../include/TaskManager
32 rsync `find . -name Test -prune -or -name '*.h' -print` ../include/TaskManager 33 rsync `find . -name Test -prune -or -name '*.h' -print` ../include/TaskManager
34
35 parallel-test:
36 @echo "Bulk"
37 @cd $(EXAM)/Bulk;make clean;make parallel-test
38 @echo "FFT"
39 @cd $(EXAM)/fft;make clean;make parallel-test
40 @echo "WordCount"
41 @cd $(EXAM)/word_count;make clean;make parallel-test
33 42
34 distclean: clean 43 distclean: clean
35 rm -f $(TAGSFILE) 44 rm -f $(TAGSFILE)
36 $(MAKE) -f Makefile.cell celldistclean 45 $(MAKE) -f Makefile.cell celldistclean
37 $(MAKE) -f Makefile.fifo fifodistclean 46 $(MAKE) -f Makefile.fifo fifodistclean