Merge remote-tracking branch 'origin/release-v4.6.1'
[WRF.git] / hydro / OrchestratorLayer / Makefile
blob7484474dca90216d7b6bbc801dd97c17e1f3652c
1 # Makefile
3 .SUFFIXES:
4 .SUFFIXES: .o .F90
6 include ../macros
8 OBJS = \
9 orchestrator.o \
10 config.o \
11 io_manager.o
13 all: $(OBJS)
15 #module_RT.o: module_RT.F
16 # @echo ""
17 # $(CPP) $(CPPFLAGS) $(*).F > $(*).f
18 # $(COMPILER90) -o $(@) $(F90FLAGS) $(MODFLAG) $(*).f
19 # $(RMD) $(*).f
20 # @echo ""
21 # cp *.mod ../mod
23 .F90.o:
24 @echo "Orchestrator Makefile:"
25 # $(COMPILER90) -o $(@) $(F90FLAGS) $(MODFLAG) $(*).f
26 $(COMPILER90) $(CPPINVOKE) -o $(@) $(CPPFLAGS) $(FPPFLAGS) $(F90FLAGS) $(LDFLAGS) $(MODFLAG) -I$(NETCDFINC) $(*).F90
27 # $(RMD) $(*).f
28 @echo ""
29 ar -r ../lib/libHYDRO.a $(@)
30 cp *.mod ../mod
33 # Dependencies:
35 io_manager.o: ../IO/netcdf_layer.o
37 orchestrator.o: io_manager.o config.o
39 clean:
40 rm -f *.o *.mod *.stb *~ *.f