
# clean up the whole directory tree, remove all rubbish

find . -type f -name "*.o"         -exec rm {} \;
find . -type f -name "*.a"         -exec rm {} \;
find . -type f -name "*.so"        -exec rm {} \;
find . -type f -name "*.bak"       -exec rm {} \;
find . -type f -name "*.BAK"       -exec rm {} \;
find . -type f -name "*.exe"       -exec rm {} \;
find . -type f -name "*.log"       -exec rm {} \;
find . -type f -name "*.ncb"       -exec rm {} \;
find . -type f -name "*.wav"       -exec rm {} \;
find . -type f -name "*.vac"       -exec rm {} \;
find . -type f -name "core"        -exec rm {} \;

rm `find . -type f | grep ".*/Debug/.*"` 2>/dev/null

