1 include $(DEV_TOP
)/configure.wps
3 ifneq "$(INTERNAL_GRIB2_PATH)" ""
5 GRIB2_CLEAN
=grib2_clean
13 @echo
' *************** '
16 @echo
"Go up a directory and type 'compile'"
19 @echo
' *************** '
22 ( cd src
/ngl
; $(MAKE
) DEV_TOP
="$(DEV_TOP)" CC
="$(SCC)" FC
="$(SFC)" RANLIB
="$(RANLIB)" all )
24 if
[ "$(COMPILING_ON_CYGWIN_NT)" = yes
] ; then \
25 WRF_DIR2
=$(WRF_DIR
) ; \
27 WRF_DIR2
=$(WRF_DIR_PRE
)$(WRF_DIR
) ; \
30 WRF_DIR
="$$WRF_DIR2" \
36 LDFLAGS
="$(LDFLAGS)" \
37 CPPFLAGS
="$(CPPFLAGS) -D_$(CPP_TARGET)" )
38 if
[ -h
$(TARGET
) ] ; then \
41 if
[ -h ..
/$(TARGET
) ] ; then \
42 $(RM
) ..
/$(TARGET
) ; \
44 if
[ -e src
/$(TARGET
) ] ; then \
45 $(LN
) src
/$(TARGET
) .
; \
49 ( cd
$(DEV_TOP
)/external
; $(MAKE
) CC
=$(SCC
) INTERNAL_GRIB2_PATH
=$(INTERNAL_GRIB2_PATH
) )
52 ( cd
$(DEV_TOP
)/external
; $(MAKE
) clean INTERNAL_GRIB2_PATH
=$(INTERNAL_GRIB2_PATH
) )
55 ( cd src
/ngl
; $(MAKE
) DEV_TOP
="$(DEV_TOP)" clean )
56 if
[ -h
$(TARGET
) ] ; then \
59 if
[ -h ..
/$(TARGET
) ] ; then \
60 $(RM
) ..
/$(TARGET
) ; \
62 ( cd src
; $(MAKE
) clean )