annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1180
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
1 include ./Makefile.def
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
2
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
3 TAGS = gtags
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
4 TAGSOPTION =
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
5 TAGSFILE = GPATH GRTAGS GSYMS GTAGS
2003
7dc90c83a787 change set_last(t to next). run test at compilation time
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents: 1935
diff changeset
6 EXAM = ../example
1180
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
7
1602
e33e106ca3e0 change default make parallel from fifo
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents: 1489
diff changeset
8 default: parallel
1180
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
9
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
10 fifo: FORCE
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
11 @$(MAKE) -f Makefile.fifo
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
12
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
13 fifo64: FORCE
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
14 @$(MAKE) -f Makefile.fifo ABIBIT=64
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
15
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
16 depend: FORCE
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
17 @$(MAKE) -f Makefile.fifo depend
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
18
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
19 cell: FORCE
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
20 @$(MAKE) -f Makefile.cell
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
21
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
22 parallel: FORCE
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
23 @$(MAKE) -f Makefile.parallel
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
24
1439
20e935f170c1 add Makefile for gpu
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents: 1182
diff changeset
25 gpu: FORCE
20e935f170c1 add Makefile for gpu
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents: 1182
diff changeset
26 @$(MAKE) -f Makefile.gpu
20e935f170c1 add Makefile for gpu
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents: 1182
diff changeset
27
1915
effb5653fd5c update cuda, yet running
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents: 1602
diff changeset
28 cuda: FORCE
effb5653fd5c update cuda, yet running
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents: 1602
diff changeset
29 @$(MAKE) -f Makefile.cuda
effb5653fd5c update cuda, yet running
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents: 1602
diff changeset
30
1180
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
31 FORCE:
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
32 -mkdir -p ../include/TaskManager
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
33 rsync `find . -name Test -prune -or -name '*.h' -print` ../include/TaskManager
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
34
2003
7dc90c83a787 change set_last(t to next). run test at compilation time
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents: 1935
diff changeset
35 parallel-test:
7dc90c83a787 change set_last(t to next). run test at compilation time
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents: 1935
diff changeset
36 @echo "Bulk"
7dc90c83a787 change set_last(t to next). run test at compilation time
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents: 1935
diff changeset
37 @cd $(EXAM)/Bulk;make clean;make parallel-test
7dc90c83a787 change set_last(t to next). run test at compilation time
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents: 1935
diff changeset
38 @echo "FFT"
7dc90c83a787 change set_last(t to next). run test at compilation time
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents: 1935
diff changeset
39 @cd $(EXAM)/fft;make clean;make parallel-test
7dc90c83a787 change set_last(t to next). run test at compilation time
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents: 1935
diff changeset
40 @echo "WordCount"
7dc90c83a787 change set_last(t to next). run test at compilation time
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents: 1935
diff changeset
41 @cd $(EXAM)/word_count;make clean;make parallel-test
7dc90c83a787 change set_last(t to next). run test at compilation time
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents: 1935
diff changeset
42
1180
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
43 distclean: clean
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
44 rm -f $(TAGSFILE)
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
45 $(MAKE) -f Makefile.cell celldistclean
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
46 $(MAKE) -f Makefile.fifo fifodistclean
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
47
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
48 clean:
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
49 rm -f *~ \#*
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
50 rm -f $(TARGET)
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
51 cd $(KERN_DIR); rm -f *~ \#*
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
52 cd $(KERN_PPE_DIR); rm -f *~ \#*
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
53 cd $(KERN_SPE_DIR); rm -f *~ \#*
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
54 cd $(KERN_SCHED_DIR); rm -f *~ \#*
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
55 cd $(KERN_MEM_DIR); rm -f *~ \#*
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
56 cd $(KERN_SYSTASK_DIR); rm -f *~ \#*
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
57 cd $(KERN_MEM_DIR); rm -f *~ \#*
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
58 cd $(IMPL_FIFO_DIR); rm -f *~ \#*
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
59 cd $(IMPL_CELL_DIR); rm -f *~ \#*
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
60 rm -f $(KERN_MAIN_OBJS) $(KERN_PPE_OBJS) $(KERN_SPE_OBJS) \
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
61 $(KERN_SCHED_OBJS) $(KERN_SYSTASK_OBJS) $(KERN_MEM_OBJS)
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
62 rm -f $(IMPL_FIFO_OBJS) $(IMPL_CELL_OBJS)
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
63 $(MAKE) -f Makefile.cell cellclean
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
64 $(MAKE) -f Makefile.fifo fifoclean
1489
cf475f0a9b80 gpu make clean fix
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1439
diff changeset
65 $(MAKE) -f Makefile.gpu gpuclean
1935
67e50779feb4 CudaScheduler is runnig.
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents: 1915
diff changeset
66 $(MAKE) -f Makefile.cuda cudaclean
1180
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
67 rm -rf *.a ../include
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
68
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
69 tags:
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
70 $(TAGS) $(TAGSOPTION)
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
71
2e20d2bb55c6 change mailmanager to mail on semaphore
Daichi TOMA
parents:
diff changeset
72 -include ./Makefile.dep