3 CMD
= Run
/wrf_hydro.exe
8 @if
[ ! -d
"Run" ]; then \
11 (rm -f Run
/wrf_hydro.exe
)
12 (make
-f Makefile.comm BASIC
)
13 @if
[ -d
"LandModel_cpl" ]; then \
14 (cd LandModel_cpl
; make
) \
16 if
[ $(WRF_HYDRO_RAPID
) -eq
1 ]; then \
17 (cd lib
;rm -f librapid.a
); \
19 if
[ $(WRF_HYDRO_RAPID
) -eq
1 ]; then \
20 (cd Rapid_routing
; make
-f makefile.cpl rapid
); \
23 @if
[ -d
"LandModel" ]; then \
24 (cd LandModel
; make
) \
28 @echo
'F90FLAGS := $$(DEBUGFLAGS) $$(F90FLAGS)' >> .
/macros
29 @echo
'F90FLAGS := $$(DEBUGFLAGS) $$(F90FLAGS)' >> .
/LandModel
/user_build_options
33 -rm -f .
/Run
/wrf_hydro.exe
; \
34 mv LandModel
/run
/hrldas.exe .
/Run
/wrf_hydro.exe
36 @echo
"No libraries or utilities are built, skip testing."
38 @if
[ -d
"LandModel_cpl" ]; then \
39 (cd LandModel_cpl
; make
clean) \
41 (make
-f Makefile.comm
clean)
42 @if
[ -d
"LandModel" ]; then \
43 (cd LandModel
; make
clean) \
45 if
[ $(WRF_HYDRO_RAPID
) -eq
1 ]; then \
46 (cd Rapid_routing
; make
-f makefile.cpl
clean); \
48 (rm -f
*/*.mod
*/*.o lib
/*.a Run
/wrf_hydro.exe
)