added 'clean' and 'make.sh'

This commit is contained in:
peri4
2010-08-31 00:23:27 +04:00
parent 86e24ec276
commit 62d176761e
3 changed files with 20 additions and 425 deletions

14
clean Executable file
View File

@@ -0,0 +1,14 @@
#! /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