updated top-level README and version_decl for V4.5 (#1847)
[WRF.git] / hydro / nudging / Makefile
blob38500141858a13d1db1562b28aceb35ae72673ad
1 # Makefile
3 .SUFFIXES:
4 .SUFFIXES: .o .F
6 include ../macros
8 OBJS = \
9 module_date_utils_nudging.o \
10 module_stream_nudging.o \
11 module_nudging_io.o \
12 module_nudging_utils.o
15 all: $(OBJS)
17 #module_RT.o: module_RT.F
18 # @echo ""
19 # $(CPP) $(CPPFLAGS) $(*).F > $(*).f
20 # $(COMPILER90) -o $(@) $(F90FLAGS) $(MODFLAG) $(*).f
21 # $(RMD) $(*).f
22 # @echo ""
23 # cp *.mod ../mod
25 .F.o:
26 @echo ""
27 $(COMPILER90) $(CPPINVOKE) $(CPPFLAGS) -o $(@) $(F90FLAGS) $(MODFLAG) -I$(NETCDF_INC) $(*).F
28 @echo ""
29 ar -r ../lib/libHYDRO.a $(@)
30 cp *.mod ../mod
33 # Dependencies:
35 module_nudging_io.o: ../Data_Rec/module_namelist.o \
36 module_date_utils_nudging.o
38 module_stream_nudging.o: module_nudging_utils.o \
39 module_nudging_io.o
42 clean:
43 rm -f *.o *.mod *.stb *~