-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcompile_windows.cmd
78 lines (69 loc) · 1.42 KB
/
compile_windows.cmd
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
::---------------------------------------------------------------------
:: COMMAND FILE TO COMPILE THE SOURCE CODE OF MEANDER MIGRATION MODEL
:: last update: 2017/11/09 by Manuel Bogoni
::---------------------------------------------------------------------
:: set the directory with the source code
set "dir=fortran"
:: set the name of the executable
set "exe=mcmm.exe"
:: set the Fortran compiler
set "fc90=gfortran"
:: clean the dashboard
cls
:: enter the directory
cd %dir%
:: compile the modules
%fc90% -c module_global.f90 module_geometry.f90 module_zs.f90
:: compile the code
%fc90% -w -static -fcheck=all ^
main.f90 ^
angle.f ^
banks.f ^
boundaries.f90 ^
coefZS.f90 ^
cubecoeff.f ^
curv.f ^
dashline.f90 ^
derivative.f ^
dUIPS.f ^
dUZS.f ^
findcutoff.f ^
initialize.f90 ^
integrals_cavsimp.f ^
integrals_semiana_functions.f ^
k0134.f ^
load_floodplain.f90 ^
load_river.f90 ^
load_sim.f90 ^
module_global.f90 ^
module_geometry.f90 ^
module_zs.f90 ^
neckcutoff.f ^
print_floodplain.f90 ^
printcutoff.f90 ^
print_lambda.f90 ^
printscreen.f90 ^
printsim.f90 ^
printtime.f90 ^
randomconfig.f90 ^
randomnormal.f90 ^
resampling.f ^
resistance_dune_bed.f ^
resistance_flat_bed.f ^
rungeg.f90 ^
savgolfilter_new.f ^
searchpoint_new.f90 ^
smoothing.f ^
storeoxbow.f ^
storepointbar.f ^
time2sec.f90 ^
timestep.f ^
windingnumber.f90 ^
zroots.f ^
zs_terms.f ^
-o %exe%
:: copy executable code
copy %exe% ..
:: exit directory
cd ..
pause