#!/bin/sh
# EPS   El Prado System CLEANER
# ===   ---------------

# You may wish to remove sources thoroughly,
# but I leave this decision up to you
# rm -rf src

HERE=`pwd`
export HERE

tryit () {
  if test -d $HERE/$1
  then
    echo "cd $1; make clean"
    cd $HERE/$1
    make clean
  else
    echo "tool <$1> is not about!"
  fi
}

SHELL=/bin/sh
export SHELL

# the following lines will try to clean up as much as possible

rm -f *~ *.bak eps1.exe

tryit src/misc
tryit src/cast
tryit src/lag
tryit src/rag
tryit src/alga

exit 0
