Merge remote-tracking branch 'origin/release-v4.6.1'
[WRF.git] / hydro / Routing / Reservoirs / Level_Pool / Makefile
blob807db31c4f725d344cef6240349ba620b7b95a23
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_levelpool_properties.F90
16 $(COMPILER90) $(F90FLAGS) $(LDFLAGS) $(MODFLAG) -I$(NETCDFINC) module_levelpool_state.F90
17 $(COMPILER90) $(F90FLAGS) $(LDFLAGS) $(MODFLAG) -I$(NETCDFINC) module_levelpool.F90
18 $(COMPILER90) $(F90FLAGS) $(LDFLAGS) $(MODFLAG) -I$(NETCDFINC) module_levelpool_tests.F90
19 ar -r ../../../lib/libHYDRO.a module_levelpool_properties.o
20 ar -r ../../../lib/libHYDRO.a module_levelpool_state.o
21 ar -r ../../../lib/libHYDRO.a module_levelpool.o
22 ar -r ../../../lib/libHYDRO.a module_levelpool_tests.o
24 cp *.mod ../../../mod
26 clean:
27 rm -f *.o
28 rm -f *.mod