6 if ( ! -e configure.wps
) then
13 set DIRS
= ( geogrid ungrib metgrid ungrib ungrib util util util util util
)
14 set EXES
= ( geogrid ungrib metgrid g1print g2print plotfmt plotgrids mod_levs rd_intermediate avg_tsfc
)
19 ( cd $dir ; make -i DEV_TOP
="${DEV_TOP}" TARGET
="$EXES[$i].exe" clean
)
21 /bin
/rm -f $EXES[$i].exe
27 find .
-name \
*.exe
-exec \rm
{} \
;
28 find .
-name \
*.o
-exec \rm
{} \
;
29 find .
-name \
*.a
-exec \rm
{} \
;
33 #if ( -e GRIBFILE.AAA ) then
34 # /bin/rm -f GRIBFILE.[A-Z][A-Z][A-Z]
37 #/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
39 #if ( -e Vtable ) then
43 #foreach core ( em nmm )
44 # foreach io_form ( nc bin grib )
45 # /bin/rm -f geo_${core}.d[0-9][0-9].${io_form} >& /dev/null
46 # /bin/rm -f met_${core}.d[0-9][0-9].*.${io_form} >& /dev/null
50 #if ( -e geogrid.log ) then
51 # /bin/rm -f geogrid.log
54 #if ( -e metgrid.log ) then
55 # /bin/rm -f metgrid.log
58 if ( "$1" == '-a' ) then
59 /bin
/rm -rf .
/netcdf_links
62 ( cd $dir ; make -i DEV_TOP
="${DEV_TOP}" TARGET
="${dir}.exe" superclean
>& /dev
/null
)
64 if ( -l ${dir}.exe
) then
68 if ( -e configure.wps
) then
69 /bin
/cp configure.wps configure.wps.backup
70 /bin
/rm -f configure.wps
74 if ( ( $TOUCH == TOUCH
) && ( -e configure.wps
) ) then
75 /bin
/rm -f configure.wps