Mercurial > hg > Game > Cerium
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 |
rev | line source |
---|---|
1180 | 1 include ./Makefile.def |
2 | |
3 TAGS = gtags | |
4 TAGSOPTION = | |
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 | 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 | 9 |
10 fifo: FORCE | |
11 @$(MAKE) -f Makefile.fifo | |
12 | |
13 fifo64: FORCE | |
14 @$(MAKE) -f Makefile.fifo ABIBIT=64 | |
15 | |
16 depend: FORCE | |
17 @$(MAKE) -f Makefile.fifo depend | |
18 | |
19 cell: FORCE | |
20 @$(MAKE) -f Makefile.cell | |
21 | |
22 parallel: FORCE | |
23 @$(MAKE) -f Makefile.parallel | |
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 | 31 FORCE: |
32 -mkdir -p ../include/TaskManager | |
33 rsync `find . -name Test -prune -or -name '*.h' -print` ../include/TaskManager | |
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 | 43 distclean: clean |
44 rm -f $(TAGSFILE) | |
45 $(MAKE) -f Makefile.cell celldistclean | |
46 $(MAKE) -f Makefile.fifo fifodistclean | |
47 | |
48 clean: | |
49 rm -f *~ \#* | |
50 rm -f $(TARGET) | |
51 cd $(KERN_DIR); rm -f *~ \#* | |
52 cd $(KERN_PPE_DIR); rm -f *~ \#* | |
53 cd $(KERN_SPE_DIR); rm -f *~ \#* | |
54 cd $(KERN_SCHED_DIR); rm -f *~ \#* | |
55 cd $(KERN_MEM_DIR); rm -f *~ \#* | |
56 cd $(KERN_SYSTASK_DIR); rm -f *~ \#* | |
57 cd $(KERN_MEM_DIR); rm -f *~ \#* | |
58 cd $(IMPL_FIFO_DIR); rm -f *~ \#* | |
59 cd $(IMPL_CELL_DIR); rm -f *~ \#* | |
60 rm -f $(KERN_MAIN_OBJS) $(KERN_PPE_OBJS) $(KERN_SPE_OBJS) \ | |
61 $(KERN_SCHED_OBJS) $(KERN_SYSTASK_OBJS) $(KERN_MEM_OBJS) | |
62 rm -f $(IMPL_FIFO_OBJS) $(IMPL_CELL_OBJS) | |
63 $(MAKE) -f Makefile.cell cellclean | |
64 $(MAKE) -f Makefile.fifo fifoclean | |
1489 | 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 | 67 rm -rf *.a ../include |
68 | |
69 tags: | |
70 $(TAGS) $(TAGSOPTION) | |
71 | |
72 -include ./Makefile.dep |