-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
64 lines (51 loc) · 1.34 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
#-----------------------------------------------------------------------------
include make_rules
####################################################
OBJS = module_namelist.o \
module_grid.o \
nc_get1Dint.o \
nc_get1Dvar.o \
nc_get2Dint.o \
nc_get2Dvar.o \
nc_get3Dint.o \
nc_get3Dvar.o \
nc_get4Dvar.o \
nc_get5Dvar.o \
nc_getGlobalIntAttr.o \
nc_getGlobalRealAttr.o \
nc_getGlobalCharAttr.o \
nc_put_single_int.o \
nc_put1Dvar.o \
nc_put1Dint.o \
nc_put2Dvar.o \
nc_put2Dint.o \
nc_put3Dvar.o \
nc_put3Dint.o \
nc_put4Dvar.o \
nc_put5Dvar.o \
nc_putChar.o \
nc_putAttr.o \
nc_putAxisAttr.o \
nc_putAxisIntAttr.o \
nc_putIntAttr.o \
nc_putGlobalIntAttr.o \
nc_putGlobalRealAttr.o \
nc_putGlobalCharAttr.o \
interp_vars.o
####################################################
deflt : clean_modulde nc4_lib verticalinterp
clean_modulde :
$(RM) module_grid.f90 module_grid.mod module_grid.o
nc4_lib : $(OBJS)
$(RM) libnc4.a
$(AR) libnc4.a $(OBJS)
$(RANLIB) libnc4.a
verticalinterp : verticalinterp.o
$(FC) -o verticalinterp.exe verticalinterp.o $(FFLAGS) $(LOC_LIBS) \
libnc4.a
clean :
$(RM) libnc4.a $(OBJS) verticalinterp.o \
*.f90 *.mod *.exe
####################################################
# DEPENDENCIES : only dependencies after this line (don't remove the word DEPENDENCIES)
module_grid.o : module_grid.F90