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