updated top-level README and version_decl for V4.5 (#1847)
[WRF.git] / hydro / arc / macros.mpp.gfort
blob5f22389e02fe06172ce9dc29ff654d763dd5795c
1 .IGNORE:
3 ifeq ($(SPATIAL_SOIL),1)
4 SPATIAL_SOIL = -DSPATIAL_SOIL
5 else
6 SPATIAL_SOIL = 
7 endif
9 ifeq ($(HYDRO_REALTIME),1)
10 HYDRO_REALTIME = -DHYDRO_REALTIME
11 else
12 HYDRO_REALTIME =
13 endif
15 ifeq ($(WRF_HYDRO),1)
16 WRF_HYDRO = -DWRF_HYDRO $(HYDRO_REALTIME)
17 else
18 WRF_HYDRO =
19 endif
21 ifeq ($(WRF_HYDRO_RAPID),1)
22 WRF_HYDRO = -DWRF_HYDRO -DWRF_HYDRO_RAPID $(HYDRO_REALTIME)
23 endif
25 ifeq ($(HYDRO_D),1)
26 HYDRO_D = -DHYDRO_D $(WRF_HYDRO)
27 else
28 HYDRO_D =  $(WRF_HYDRO)
29 endif
32 ifeq ($(NWM_META),1)
33 NWM_META = -DNWM_META
34 else
35 NWM_META =
36 endif
38 ifeq ($(WRF_HYDRO_NUDGING),1)
39 WRF_HYDRO_NUDGING = -DWRF_HYDRO_NUDGING
40 else
41 WRF_HYDRO_NUDGING = 
42 endif
44 ifeq ($(OUTPUT_CHAN_CONN),1)
45 OUTPUT_CHAN_CONN = -DOUTPUT_CHAN_CONN
46 else
47 OUTPUT_CHAN_CONN = 
48 endif
50 ifeq ($(PRECIP_DOUBLE),1)
51 PRECIP_DOUBLE = -DPRECIP_DOUBLE
52 else
53 PRECIP_DOUBLE = 
54 endif
57 RMD             =       rm -f
58 COMPILER90      =       mpif90  
59 F90FLAGS        =       -w -c -O2 -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -std=legacy
60 DEBUGFLAGS      = -DHYDRO_D -g -Wall -Wextra -Warray-temporaries -Wconversion -fimplicit-none -fbacktrace -ffree-line-length-0 -fcheck=all -ffpe-trap=invalid,zero,overflow,underflow -finit-real=nan
61 MODFLAG         =       -I"./" -I"../../MPP" -I"../MPP" -I"../mod"
62 LDFLAGS         =       
63 CPPINVOKE       =       -cpp
64 CPPFLAGS        =       -DMPP_LAND -I"../Data_Rec" $(HYDRO_D) $(SPATIAL_SOIL) $(NWM_META) $(WRF_HYDRO_NUDGING) $(OUTPUT_CHAN_CONN) $(PRECIP_DOUBLE)
66 LIBS            =       
67 NETCDFINC       =       $(NETCDF_INC)
68 NETCDFLIB       =       -L$(NETCDF_LIB) -lnetcdff -lnetcdf