Merge remote-tracking branch 'origin/release-v4.6.1'
[WRF.git] / hydro / IO / Makefile
blobb0530be1a6049ddbc8c77212b87288399991b07f
1 # Makefile
3 .SUFFIXES:
4 .SUFFIXES: .o .F90
6 include ../macros
8 OBJS = \
9 netcdf_layer.o
10 all: $(OBJS)
12 .F90.o:
13 @echo ""
14 # $(CPP) $(CPPFLAGS) -I$(NETCDFINC) $(*).F > $(*).f
15 # $(COMPILER90) -o $(@) $(F90FLAGS) $(MODFLAG) -I../mod $(*).f
16 $(COMPILER90) -o $(@) $(F90FLAGS) $(LDFLAGS) $(MODFLAG) -I$(NETCDFINC) -I../mod $(*).F90
17 # $(RMD) $(*).f
18 @echo ""
19 ar -r ../lib/libHYDRO.a $(@)
20 cp *.mod ../mod
23 # Dependencies:
25 #module_HYDRO_drv.o: ../Data_Rec/module_namelist.o ../Data_Rec/module_RT_data.o ../Data_Rec/module_gw_gw2d_data.o \
26 # ../Routing/module_GW_baseflow.o ../Routing/module_HYDRO_utils.o ../Routing/module_HYDRO_io.o ../Routing/module_RT.o
28 clean:
29 rm -f *.o *.mod *.stb *~ *.f