1 # WPS component makefile
3 include ..
/configure.wps
9 @echo
"go up a directory and type 'compile' to build WPS"
14 @if
[ -e
$(WRF_DIR_PRE
)$(WRF_DIR
)/frame
/module_internal_header_util.o
] ; then \
17 WRF_DIR
="$(WRF_DIR_PRE)$(WRF_DIR)" \
23 LDFLAGS
="$(LDFLAGS)" \
24 CPPFLAGS
="$(CPPFLAGS) -D_$(CPP_TARGET)" ) ; \
25 if
[ -e
$(TARGET
) ] ; then \
28 if
[ -e ..
/$(TARGET
) ] ; then \
29 $(RM
) ..
/$(TARGET
) ; \
31 if
[ -e src
/$(TARGET
) ] ; then \
32 $(LN
) src
/$(TARGET
) .
; \
36 echo
" ***************************************************************************************" ; \
37 echo
" Error : Not building geogrid. Check whether WRF is compiled in $(WRF_DIR_PRE)$(WRF_DIR)" ; \
38 echo
" ***************************************************************************************" ; \
43 if
[ -e
$(TARGET
) ] ; then \
46 if
[ -e ..
/$(TARGET
) ] ; then \
47 $(RM
) ..
/$(TARGET
) ; \
49 ( cd src
; $(MAKE
) clean )