6 if ( ! -e configure.wps
) then
13 set DIRS
= ( geogrid ungrib metgrid ungrib ungrib util util util util util util util
)
14 set EXES
= ( geogrid ungrib metgrid g1print g2print plotfmt plotgrids mod_levs rd_intermediate avg_tsfc calc_ecmwf_p height_ukmo
)
19 ( cd $dir ; make -i DEV_TOP
="${DEV_TOP}" TARGET
="$EXES[$i].exe" clean
)
21 /bin
/rm -f $EXES[$i].exe
22 if ( $EXES[$i] == "g1print" ||
$EXES[$i] == "g2print" ) then
23 /bin
/rm -f util
/$EXES[$i].exe
30 #if ( -e GRIBFILE.AAA ) then
31 # /bin/rm -f GRIBFILE.[A-Z][A-Z][A-Z]
34 #/bin/rm -f FILE:[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]_[0-9][0-9] >& /dev/null
36 #if ( -e Vtable ) then
40 #foreach core ( em nmm )
41 # foreach io_form ( nc bin grib )
42 # /bin/rm -f geo_${core}.d[0-9][0-9].${io_form} >& /dev/null
43 # /bin/rm -f met_${core}.d[0-9][0-9].*.${io_form} >& /dev/null
47 #if ( -e geogrid.log ) then
48 # /bin/rm -f geogrid.log
51 #if ( -e metgrid.log ) then
52 # /bin/rm -f metgrid.log
55 if ( "$1" == '-a' ) then
56 /bin
/rm -rf .
/netcdf_links
59 ( cd $dir ; make -i DEV_TOP
="${DEV_TOP}" TARGET
="${dir}.exe" superclean
>& /dev
/null
)
61 if { test -h ${dir}.exe
} then
65 if ( -e configure.wps
) then
66 /bin
/cp configure.wps configure.wps.backup
67 /bin
/rm -f configure.wps
71 if ( ( $TOUCH == TOUCH
) && ( -e configure.wps
) ) then
72 /bin
/rm -f configure.wps