-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
71 lines (52 loc) · 1.36 KB
/
Makefile
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
SHELL=/bin/sh
CLASS=W
VERSION=
SFILE=config/suite.def
default: header
@ sys/print_instructions
BT: bt
bt: header
cd BT; $(MAKE) CLASS=$(CLASS) VERSION=$(VERSION)
SP: sp
sp: header
cd SP; $(MAKE) CLASS=$(CLASS)
LU: lu
lu: header
cd LU; $(MAKE) CLASS=$(CLASS) VERSION=$(VERSION)
MG: mg
mg: header
cd MG; $(MAKE) CLASS=$(CLASS)
FT: ft
ft: header
cd FT; $(MAKE) CLASS=$(CLASS)
IS: is
is: header
cd IS; $(MAKE) CLASS=$(CLASS)
CG: cg
cg: header
cd CG; $(MAKE) CLASS=$(CLASS)
EP: ep
ep: header
cd EP; $(MAKE) CLASS=$(CLASS)
UA: ua
ua: header
cd UA; $(MAKE) CLASS=$(CLASS)
DC: dc
dc: header
cd DC; $(MAKE) CLASS=$(CLASS)
# 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
- rm -f *~ */core */*~ */*.o */npbparams.h */*.obj */*.exe
- rm -f sys/setparams sys/makesuite sys/setparams.h
- rm -rf */rii_files
veryclean: clean
- rm -f bin/sp.* bin/lu.* bin/mg.* bin/ft.* bin/bt.* bin/is.*
- rm -f bin/ep.* bin/cg.* bin/ua.* bin/dc.*
header:
@ sys/print_header