-
Notifications
You must be signed in to change notification settings - Fork 23
/
Makefile
123 lines (104 loc) · 2.79 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
####### Build rules
all: makelib makesrc maketar maketools makedoc
lib: makelib
config: makeconfig
configx: makeconfigx
configp: makeconfigp
configpx: makeconfigpx
src: makelib makesrc
tools: makelib maketools
tar: makelib makesrc maketar
makelib:
( cd lib ; make all )
makelibext:
( cd lib ; make ext )
makeconfig:
( cd config ; make clean ; make config )
( cd config ; exec ./config )
( cd config ; chmod u+x applyconfig.sh )
( cd config ; exec ./applyconfig.sh )
@echo
@echo CFDWARP configuration completed.
@echo
@echo Type \'make clean\' to clean the directories.
@echo
makeconfigx:
( cd config ; make clean ; make configx )
( cd config ; exec ./config )
( cd config ; chmod u+x applyconfig.sh )
( cd config ; exec ./applyconfig.sh )
@echo
@echo CFDWARP configuration completed.
@echo
@echo Type \'make clean\' to clean the directories.
@echo
makeconfigp:
( cd config ; make clean ; make configp )
( cd config ; exec ./config )
( cd config ; chmod u+x applyconfig.sh )
( cd config ; exec ./applyconfig.sh )
@echo
@echo CFDWARP configuration completed.
@echo
@echo Type \'make clean\' to clean the directories.
@echo
makeconfigpx:
( cd config ; make clean ; make configpx )
( cd config ; exec ./config )
( cd config ; chmod u+x applyconfig.sh )
( cd config ; exec ./applyconfig.sh )
@echo
@echo CFDWARP configuration completed.
@echo
@echo Type \'make clean\' to clean the directories.
@echo
makesrc:
( cd src ; make )
@echo
@echo Finished compiling CFDWARP.
@echo
@echo The executable is named warp and is located in the src directory.
@echo
@echo See file USAGE for further instructions.
@echo
maketar:
( cd tar ; make )
@echo
@echo Finished creating CFDWARP package.
@echo
@echo The package is named warp_package.tgz and is located in the tar directory.
@echo
maketools:
( cd tools ; make )
@echo
@echo Finished compiling all tools. See tools directory for executables.
@echo
cleanbin:
( cd bin ; make cleanout )
clean:
( cd config ; make clean )
( cd src ; make clean )
( cd model ; make clean )
( cd cycle ; make clean )
( cd tools ; make clean )
( cd lib ; make clean )
( cd tar ; make clean )
( rm -f core `find . -type f -name 'core' -print` )
@echo
@echo Finished cleaning the directories.
@echo
@echo Type \'make src\' to compile CFDWARP.
@echo
cleanall:
( cd config ; make cleanall )
( cd src ; make cleanall )
( cd tar ; make cleanall )
( cd model ; make cleanall )
( cd cycle ; make cleanall )
( cd tools ; make cleanall )
( cd lib ; make cleanall )
( rm -f core `find . -type f -name 'core' -print` )
( rm -f gmon.out `find . -type f -name 'gmon.out' -print` )
( rm -f `find . -type f -name '*~' -print` )
( cp .makefile-header-default .makefile-header )
# DO NOT DELETE THIS LINE -- make depend depends on it.