#!/bin/sh

#
# This file attempts to clean all un-needed files in the directory it is
# run. Right now, un-needed files are defined as :
#
#   1) Any file with extension .bak, .jou, .orig, .org, .old
#   2) Core files
#   3) Object modules
#   4) Files generated by pixie(1) (files with extension .Addrs, .Counts)
#   5) Specific files - MAIN.0 MAIN.0.*
#   6) Emacs temporary files (*~, \#* \#*\#)
#

echo "Cleaning `pwd`..."
rm -f core *~ *.bak *.jou MAIN.0 MAIN.0.* *.orig *.old \#*
rm -f *.o
rm -f *.Addrs *.Counts

