diff --git a/wmake/wcleanMachine b/wmake/wcleanMachine index 235964f2a5089ec673dd03b5d1b21b0675bb9b33..40303c9d6bfe826caaff5b89125978c6c437d320 100755 --- a/wmake/wcleanMachine +++ b/wmake/wcleanMachine @@ -47,11 +47,10 @@ then exit 1 fi +find `find . -depth \( -name "Make.[A-Za-z]*" -o -name "Make" \) -type d -print` \ + -depth \( -type d -name "*$1" -o -name "*$1$WM_MPLIB" \) -exec rm -r {} \; -find `find . -depth \( -name "Make.[A-Za-z]*" -o -name "Make" \) -type d -print` -depth \( -type d -name "*$1" \) -exec rm -r {} \; - - -find . -depth -type d \( -name ii_files -o -name Templates.DB \) -exec rm -rf {} \; +#find . -depth -type d \( -name ii_files -o -name Templates.DB \) -exec rm -rf {} \; if [ -d lib/$1 ] @@ -67,10 +66,5 @@ then fi fi -#if [ src/mpich-${MPICH_VERSION}/platforms/$1 ] -#then -# rm -rf src/mpich-${MPICH_VERSION}/platforms/$1 -#fi - #------------------------------------------------------------------------------