-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile1
36 lines (28 loc) · 1.65 KB
/
Makefile1
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
##############################################################
# Makefile: Cornell Multigrid Coupled Tsunami (COMCOT) Model #
# LAST REVISED: XIAOMING WANG 30/10/2008 #
##############################################################
##-------- FOR WINDOWS ---------------------------
#F90 = ifort
#OBJ = comcot.exe
#SRC = comcot.f90 type_module.f90 initialization.f90 output.f90 deform.f90 mass.f90 moment.f90 boundaries.f90 all_grids.f90 hotstart.f90 landslide.f90 wavemaker.f90 dispersion.f90
#OBJECTS = comcot.obj type_module.obj initialization.obj output.obj deform.obj mass.obj moment.obj boundaries.obj all_grids.obj hotstart.obj landslide.obj wavemaker.obj dispersion.obj
#MODULES = fault_params.mod landslide_params.mod layer_params.mod wave_params.mod bci_params.mod
#OPT = /O2 /F1000000000
#$(OBJ): $(SRC)
# $(F90) $(SRC) $(OPT) -o $(OBJ)
#CLEAN:
# RM $(OBJECTS)
# RM $(MODULES)
##--------- FOR LINUX ---------------------
F90 = ifort
OBJ = comcot
SRC = comcot.f90 type_module.f90 initialization.f90 output.f90 deform.f90 mass.f90 moment.f90 boundaries.f90 all_grids.f90 hotstart.f90 landslide.f90 wavemaker.f90 dispersion.f90
OBJECTS = comcot.obj type_module.obj initialization.obj output.obj deform.obj mass.obj moment.obj boundaries.obj all_grids.obj hotstart.obj landslide.obj wavemaker.obj dispersion.obj
MODULES = fault_params.mod landslide_params.mod layer_params.mod wave_params.mod bci_params.mod
OPT = -O2 -F1000000000
$(OBJ): $(SRC)
$(F90) $(SRC) $(OPT) -o $(OBJ)
###CLEAN:
### RM $(OBJECTS)
### RM $(MODULES)