Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
794191c451613bbb9fb7a40e47bde4da0cf933ea
[simgrid.git] / examples / smpi / NAS / Makefile
1 SHELL=/bin/sh
2 CLASS=U
3 NPROCS=1
4 SUBTYPE=
5 VERSION=
6 SFILE=config/suite.def
7
8 default: header
9         @ sys/print_instructions
10
11 BT: bt
12 bt: header
13         cd BT; $(MAKE) NPROCS=$(NPROCS) CLASS=$(CLASS) SUBTYPE=$(SUBTYPE) VERSION=$(VERSION)
14
15 SP: sp
16 sp: header
17         cd SP; $(MAKE) NPROCS=$(NPROCS) CLASS=$(CLASS)
18
19 LU: lu
20 lu: header
21         cd LU; $(MAKE) NPROCS=$(NPROCS) CLASS=$(CLASS) VERSION=$(VERSION)
22
23 MG: mg
24 mg: header
25         cd MG; $(MAKE) NPROCS=$(NPROCS) CLASS=$(CLASS)
26
27 FT: ft
28 ft: header
29         cd FT; $(MAKE) NPROCS=$(NPROCS) CLASS=$(CLASS)
30
31 IS: is
32 is: header
33         cd IS; $(MAKE) NPROCS=$(NPROCS) CLASS=$(CLASS)
34
35 IS-trace: is-trace
36 is-trace: header
37         cd IS-trace; $(MAKE) NPROCS=$(NPROCS) CLASS=$(CLASS)
38
39 CG: cg
40 cg: header
41         cd CG; $(MAKE) NPROCS=$(NPROCS) CLASS=$(CLASS)
42
43 EP: ep
44 ep: header
45         cd EP; $(MAKE) NPROCS=$(NPROCS) CLASS=$(CLASS)
46
47 EP-trace: ep-trace
48 ep-trace: header
49         cd EP-trace; $(MAKE) NPROCS=$(NPROCS) CLASS=$(CLASS)
50
51 DT: dt
52 dt: header
53         cd DT; $(MAKE) CLASS=$(CLASS)
54
55 DT-trace: dt-trace
56 dt-trace: header
57         cd DT-trace; $(MAKE) CLASS=$(CLASS)
58
59 DT-folding: dt-folding
60 dt-folding: header
61         cd DT-folding; $(MAKE) CLASS=$(CLASS)
62
63 # Awk script courtesy cmg@cray.com, modified by Haoqiang Jin
64 suite:
65         @ awk -f sys/suite.awk SMAKE=$(MAKE) $(SFILE) | $(SHELL)
66
67
68 # It would be nice to make clean in each subdirectory (the targets
69 # are defined) but on a really clean system this will won't work
70 # because those makefiles need config/make.def
71 clean:
72         - rm -f core 
73         - rm -f *~ */core */*~ */*.o */npbparams.h */*.obj */*.exe
74         - rm -f MPI_dummy/test MPI_dummy/libmpi.a
75         - rm -f sys/setparams sys/makesuite sys/setparams.h
76         - rm -f btio.*.out*
77
78 veryclean: clean
79         - rm -f config/make.def config/suite.def 
80         - rm -f bin/sp.* bin/lu.* bin/mg.* bin/ft.* bin/bt.* bin/is.* 
81         - rm -f bin/ep.* bin/cg.* bin/dt.*
82
83 header:
84         @ sys/print_header
85