updated top-level README and version_decl for V4.5 (#1847)
[WRF.git] / hydro / arc / macros.mpp.linux
blob8bb08839ad39127a923d15e8a5d22884fa94bff3
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 ($(WRF_HYDRO_NUDGING),1)
33 WRF_HYDRO_NUDGING = -DWRF_HYDRO_NUDGING
34 else
35 WRF_HYDRO_NUDGING = 
36 endif
38 ifeq ($(OUTPUT_CHAN_CONN),1)
39 OUTPUT_CHAN_CONN = -DOUTPUT_CHAN_CONN
40 else
41 OUTPUT_CHAN_CONN = 
42 endif
44 ifeq ($(PRECIP_DOUBLE),1)
45 PRECIP_DOUBLE = -DPRECIP_DOUBLE
46 else
47 PRECIP_DOUBLE = 
48 endif
51 RM              =       rm -f  
52 RMD             =       rm -f    
53 COMPILER90=     mpif90
54 F90FLAGS  =     -Mfree -c -byteswapio -O2 -Kieee 
55 DEBUGFLAGS =  -DHYDRO_D -g 
56 LDFLAGS  =      $(F90FLAGS)
57 MODFLAG =       -I./ -I ../../MPP -I ../MPP -I ../mod -I ../../mod -I ../../../mod
58 LDFLAGS =       
59 CPPINVOKE       = -Mpreprocess
60 CPPFLAGS        =  -DMPP_LAND -I../Data_Rec $(HYDRO_D) $(SPATIAL_SOIL) $(WRF_HYDRO_NUDGING) $(OUTPUT_CHAN_CONN) $(PRECIP_DOUBLE)
61 LIBS    =       
62 NETCDFINC       =       $(NETCDF_INC) 
63 NETCDFLIB       =       -L$(NETCDF_LIB) -lnetcdff -lnetcdf