updated top-level README and version_decl for V4.5 (#1847)
[WRF.git] / hydro / CPL / WRF_cpl / Makefile
blobfa196ae9df123926671b40562d2076a205af21fe
1 # Makefile
3 .SUFFIXES:
4 .SUFFIXES: .o .F
8 include ../../macros
10 MODFLAG = -I./ -I ../../MPP -I ../../mod
12 WRF_ROOT = ../../..
13 OBJS = \
14 module_wrf_HYDRO.o \
15 wrf_drv_HYDRO.o
16 all: $(OBJS)
18 .F.o:
19 @echo ""
20 $(COMPILER90) $(CPPINVOKE) $(CPPFLAGS) -I$(NETCDFINC) -o $(@) $(F90FLAGS) $(MODFLAG) -I$(WRF_ROOT)/frame -I$(WRF_ROOT)/main -I$(WRF_ROOT)/external/esmf_time_f90 $(*).F
21 @echo ""
22 ar -r ../../lib/libHYDRO.a $(@)
25 # Dependencies:
27 module_wrf_HYDRO.o: ../../Data_Rec/module_RT_data.o ../../Data_Rec/module_namelist.o ../../HYDRO_drv/module_HYDRO_drv.o
29 wrf_drv_HYDRO.o: module_wrf_HYDRO.o
31 clean:
32 rm -f *.o *.mod *.stb *~