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