Merge remote-tracking branch 'origin/release-v4.5'
[WRF.git] / hydro / Routing / Reservoirs / Persistence_Level_Pool_Hybrid / Makefile
blob666d2628935ab0d7babe9c81746242dad8b36720
2 include ../../../macros
4 MODFLAG := -I ../../../MPP -I ../../../mod
6 %.o : %.F
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.F
16 $(COMPILER90) $(F90FLAGS) $(LDFLAGS) $(MODFLAG) -I$(NETCDFINC) module_persistence_levelpool_hybrid_state.F
17 $(COMPILER90) $(F90FLAGS) $(LDFLAGS) $(MODFLAG) -I$(NETCDFINC) module_persistence_levelpool_hybrid.F
18 $(COMPILER90) $(F90FLAGS) $(LDFLAGS) $(MODFLAG) -I$(NETCDFINC) module_persistence_levelpool_hybrid_tests.F
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