-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
70 lines (54 loc) · 1.29 KB
/
Copy pathMakefile
File metadata and controls
70 lines (54 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
SHELL=/bin/sh
CLASS=U
SUBTYPE=
VERSION=
F08=def
MFLAGS=CLASS=$(CLASS) F08=$(F08)
SFILE=config/suite.def
default: header
@ sys/print_instructions
BT: bt
bt: header
cd BT; $(MAKE) $(MFLAGS) SUBTYPE=$(SUBTYPE) VERSION=$(VERSION)
SP: sp
sp: header
cd SP; $(MAKE) $(MFLAGS)
LU: lu
lu: header
cd LU; $(MAKE) $(MFLAGS) VERSION=$(VERSION)
MG: mg
mg: header
cd MG; $(MAKE) $(MFLAGS)
FT: ft
ft: header
cd FT; $(MAKE) $(MFLAGS)
IS: is
is: header
cd IS; $(MAKE) $(MFLAGS)
CG: cg
cg: header
cd CG; $(MAKE) $(MFLAGS)
EP: ep
ep: header
cd EP; $(MAKE) $(MFLAGS)
DT: dt
dt: header
cd DT; $(MAKE) $(MFLAGS)
# Awk script courtesy cmg@cray.com, modified by Haoqiang Jin
suite:
@ awk -f sys/suite.awk SMAKE=$(MAKE) $(SFILE) | $(SHELL)
# It would be nice to make clean in each subdirectory (the targets
# are defined) but on a really clean system this will won't work
# because those makefiles need config/make.def
clean:
- rm -f core *~ */core */*~
- rm -f */*.o */*.mod */*.obj */*.exe */npbparams.h */mpinpb.*
- rm -f MPI_dummy/test MPI_dummy/libmpi.a
- rm -f sys/setparams sys/makesuite sys/setparams.h
- rm -f btio.*.out*
veryclean: clean
- rm -f config/make.def config/suite.def
- rm -f bin/sp.* bin/lu.* bin/mg.* bin/ft.* bin/bt.* bin/is.*
- rm -f bin/ep.* bin/cg.* bin/dt.*
header:
@ sys/print_header