-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathmake.inc_example
More file actions
34 lines (31 loc) · 1.51 KB
/
make.inc_example
File metadata and controls
34 lines (31 loc) · 1.51 KB
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
# --- following for oscar/rudy ----
#IOLIBS = -L/hosts/mao/usr/medm/install/netcdf/3.6.3/em64t/lib -lnetcdf
#IOINCS = -I/hosts/mao/usr/medm/install/netcdf/3.6.3/em64t/include
IOLIBS = -L/opt/netcdf3/gnu32/lib -lnetcdf
IOINCS = -I/opt/netcdf3/gnu32/include
# --- following for minke ----
# colon=:
# empty=
# dashI= $(empty) -I
# dashL= $(empty) -L
# IOLIBS = -L$(subst $(colon),$(dashL),$(LIBPATH)) -lnetcdf
# IOINCS = -I$(subst $(colon),$(dashI),$(INCLUDEPATH))
#--------------------------------------------------------------------------
# APPLE / gfortran
#--------------------------------------------------------------------------
CPPFLAGS = $(DEF_FLAGS)
CPP = /usr/bin/cpp
FC = gfortran #-funderscoring # -fno-second-underscore
# FLINK = /bin/sh /usr/local/netcdf/gfortran/bin/libtool --mode=link gfortran
FLINK = gfortran
DEBFLGS =
OPT = -O3
#--------------------------------------------------------------------------
# LINUX / ifort
#--------------------------------------------------------------------------
# CPPFLAGS = $(DEF_FLAGS)
# CPP = /usr/bin/cpp
# FC = ifort #-funderscoring # -fno-second-underscore
# FLINK = ifort ##/bin/sh /usr/local/netcdf/gfortran/bin/libtool --mode=link gfortran
# DEBFLGS =
# OPT = -O3 -g