#!/bin/sh
cd ${0%/*} || exit 1    # Run from this directory

#
# define how to an mpi-versioned library is created
# clean the qualified directory
#
wcleanMpiLib()
{
    set +x
    for libName
    do
    (
        WM_OPTIONS="$WM_OPTIONS$WM_MPLIB"
        wclean $libName
    )
    done
    set -x
}

set -x
wclean dummy

case "$WM_MPLIB" in
*MPI*)
    set +x
    wcleanMpiLib mpi
    ;;
esac


#------------------------------------------------------------------------------
