Merge remote-tracking branch 'origin/release-v4.6.1'
[WRF.git] / hydro / Routing / Reservoirs / RFC_Forecasts / Makefile
blob549b51e6d4e389995552fc8728ee5b7bfdc9f87d
2 include ../../../macros
4 MODFLAG := -I ../../../MPP -I ../../../mod
6 %.o : %.F90
7 $(COMPILER90) $(F90FLAGS) $(LDFLAGS) $(MODFLAG) -I$(NETCDFINC) $<
9 .PHONY: all mod test
11 all: mod
13 mod:
14 #Build each sub module then build the module that depends on all sub modules
15 $(COMPILER90) $(F90FLAGS) $(LDFLAGS) $(MODFLAG) -I$(NETCDFINC) module_rfc_forecasts_properties.F90
16 $(COMPILER90) $(F90FLAGS) $(LDFLAGS) $(MODFLAG) -I$(NETCDFINC) module_rfc_forecasts_state.F90
17 $(COMPILER90) $(F90FLAGS) $(LDFLAGS) $(MODFLAG) -I$(NETCDFINC) module_rfc_forecasts.F90
18 $(COMPILER90) $(F90FLAGS) $(LDFLAGS) $(MODFLAG) -I$(NETCDFINC) module_rfc_forecasts_tests.F90
19 ar -r ../../../lib/libHYDRO.a module_rfc_forecasts_properties.o
20 ar -r ../../../lib/libHYDRO.a module_rfc_forecasts_state.o
21 ar -r ../../../lib/libHYDRO.a module_rfc_forecasts.o
22 ar -r ../../../lib/libHYDRO.a module_rfc_forecasts_tests.o
24 cp *.mod ../../../mod
26 clean:
27 rm -f *.o
28 rm -f *.mod