6
if ( [ "$1" == "exe" ] ) || ( [ "$2" == "exe" ] ) || ( [ "$3" == "exe" ] ) ; then
7
echo "removing executives"
8
rm -f {bin,bin-debug}/{RA,rap,libRA,librap,install,test,tst}*
9
[ -e bin ] && rmdir bin
11
echo "!!!!!!!!!!!!!! Cannot delete bin: it is not empty"
15
[ -e bin-debug ] && rmdir bin-debug
16
if [ -e bin-debug ]; then
17
echo "!!!!!!!!!!!!!! Cannot delete bin-debug: it is not empty"
23
if ( [ "$1" == "user" ] ) || ( [ "$2" == "user" ] ) || ( [ "$3" == "user" ] ) ; then
24
echo "removing user settings"
25
rm -f {./,*/,*/*/}*.pro.user
28
if ( [ "$1" == "make" ] ) || ( [ "$2" == "make" ] ) || ( [ "$3" == "make" ] ) ; then
29
echo "removing make files etc."
30
rm -f {bin,bin-debug}/*.a
32
rm -f {./,*/,*/*/}{Makefile,Makefile.Debug,Makefile.Release,object_script.*}
35
echo "removing garbage"
36
rm -f {./,*/,*/*/}{*~,*.bak}
40
#echo "Press Enter..."