Merge remote-tracking branch 'origin/release-v4.6.1'
[WRF.git] / hydro / arc / macros.seq.linux
blob614a7e0b51b5316116ac33e0e5a3b5449ba84eea
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
45 RMD             =       ls 
46 RM              =       rm -f
47 COMPILER90=     pgf90 
48 F90FLAGS  =     -Mfree -Mfptrap -c -byteswapio -Ktrap=fp -O2 -Kieee
49 DEBUGFLAGS = -DHYDRO_D -g
50 LDFLAGS  =      $(F90FLAGS)
51 MODFLAG =       -I./ -I ../mod
52 LDFLAGS =       
53 CPPINVOKE       =
54 CPPFLAGS        =       -I ../Data_Rec $(HYDRO_D) $(WRF_HYDRO) $(SPATIAL_SOIL) $(WRF_HYDRO_NUDGING) $(OUTPUT_CHAN_CONN)
55 LIBS    =       
56 NETCDFINC       =       $(NETCDF_INC)
57 NETCDFLIB       =       -L$(NETCDF_LIB) -lnetcdff -lnetcdf