#! /bin/bash VERBOSE=1 make clean for i in $( ls -1 ); do if [ "`ls -1 --file-type | grep $i | grep -o /`" = "/" ]; then cd $i rm -rvf ./CMakeFiles rm -vf ./CMakeCache.txt ./Makefile ./cmake_install.cmake ./install_manifest.txt ./*~ cd ../ fi done rm -rvf ./CMakeFiles rm -vf ./CMakeCache.txt ./Makefile ./cmake_install.cmake ./install_manifest.txt ./*~ ./*cxx ./moc_* ./*.o cd ADeditor make clean