Merge remote-tracking branch 'origin/release-v4.6.1'
[WRF.git] / hydro / Data_Rec / Makefile
blob263b5a4d9912bc5df0055891b02585d0ade78b78
1 # Makefile
3 .SUFFIXES:
4 .SUFFIXES: .o .F90
6 include ../macros
8 OBJS = \
9 module_namelist_inc.o \
10 module_namelist.o \
11 module_rt_inc.o \
12 module_RT_data.o \
13 module_gw_gw2d_data.o
15 all: $(OBJS)
17 .F90.o:
18 @echo ""
19 $(COMPILER90) $(CPPINVOKE) $(CPPFLAGS) -I$(NETCDFINC) -o $(@) $(F90FLAGS) $(LDFLAGS) $(MODFLAG) -I../mod $(*).F90
20 @echo ""
21 ar -r ../lib/libHYDRO.a $(@)
22 cp *.mod ../mod
24 # Dependencies:
26 module_namelist.o: module_namelist_inc.o
27 module_RT_data.o: module_rt_inc.o
29 clean:
30 rm -f *.o *.mod *.stb *~