3 ifeq ($(SPATIAL_SOIL),1)
4 SPATIAL_SOIL = -DSPATIAL_SOIL
9 ifeq ($(HYDRO_REALTIME),1)
10 HYDRO_REALTIME = -DHYDRO_REALTIME
16 WRF_HYDRO = -DWRF_HYDRO $(HYDRO_REALTIME)
21 ifeq ($(WRF_HYDRO_RAPID),1)
22 WRF_HYDRO = -DWRF_HYDRO -DWRF_HYDRO_RAPID $(HYDRO_REALTIME)
26 HYDRO_D = -DHYDRO_D $(WRF_HYDRO)
28 HYDRO_D = $(WRF_HYDRO)
32 ifeq ($(WRF_HYDRO_NUDGING),1)
33 WRF_HYDRO_NUDGING = -DWRF_HYDRO_NUDGING
38 ifeq ($(OUTPUT_CHAN_CONN),1)
39 OUTPUT_CHAN_CONN = -DOUTPUT_CHAN_CONN
44 ifeq ($(PRECIP_DOUBLE),1)
45 PRECIP_DOUBLE = -DPRECIP_DOUBLE
56 ifeq ($(NCEP_WCOSS),1)
57 NCEP_WCOSS = -DNCEP_WCOSS
65 BYTESWAPIO = -h byteswapio
66 F90FLAGS = -O2 -c -ef -h alias=none -h fp1 $(FORMAT_FREE) $(BYTESWAPIO)
67 #F90FLAGS = -O0 -eD -g -c -ef -h alias=tolerant $(FORMAT_FREE) $(BYTESWAPIO) # CRAY DEBUG OPTIONS
68 MODFLAG = -I./ -I ../../MPP -I ../MPP -I ../mod
71 CPPFLAGS = -DMPP_LAND -I ../Data_Rec $(HYDRO_D) $(SPATIAL_SOIL) $(NWM_META) $(WRF_HYDRO_NUDGING) $(OUTPUT_CHAN_CONN) $(PRECIP_DOUBLE) $(NCEP_WCOSS)
73 NETCDFINC = $(NETCDF_INC)
74 NETCDFLIB = -L$(NETCDF_LIB) -lnetcdff -lnetcdf