7 wh_version
:= $(shell cat ..
/.version
)
8 WRF_HYDRO_VERSION
=\"$(wh_version
)\"
10 nwm_version
:= $(shell cat ..
/.nwm_version
)
11 NWM_VERSION
=\"$(nwm_version
)\"
13 F90FLAGS
+= -DNWM_VERSION
=$(NWM_VERSION
) -DWRF_HYDRO_VERSION
=$(WRF_HYDRO_VERSION
)
21 ## The insertion of compile-time constants strangely requires the capital F in the extension.
23 @echo
"Utils Makefile:"
24 $(COMPILER90
) $(CPPINVOKE
) $(CPPFLAGS
) -o
$(@
) $(F90FLAGS
) $(LDFLAGS
) $(MODFLAG
) -I
$(NETCDFINC
) $(*).F90
26 ar -r ..
/lib
/libHYDRO.a
$(@
)
34 rm -f
*.o
*.mod
*.stb
*~