Merge remote-tracking branch 'origin/release-v4.6.1'
[WRF.git] / hydro / nudging / Makefile
blob9580c7cf2a50b79b3d697a52c6eb2eb34686d73c
1 # Makefile
3 .SUFFIXES:
4 .SUFFIXES: .o .F90
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.F90
18 # @echo ""
19 # $(CPP) $(CPPFLAGS) $(*).F90 > $(*).f90
20 # $(COMPILER90) -o $(@) $(F90FLAGS) $(MODFLAG) $(*).f90
21 # $(RMD) $(*).f90
22 # @echo ""
23 # cp *.mod ../mod
25 .F90.o:
26 @echo ""
27 $(COMPILER90) $(CPPINVOKE) $(CPPFLAGS) -o $(@) $(F90FLAGS) $(MODFLAG) -I$(NETCDF_INC) $(*).F90
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 *~