Menu

[r151]: / trunk / test / clean  Maximize  Restore  History

Download this file

18 lines (15 with data), 469 Bytes

#!/bin/sh

rootdir=`pwd`
MAKEFILE=$HOME/local/cpplapack/makefiles/Makefile

for i in `find * -type d | grep -v .svn`; do
    if [ -d $i ]; then
        echo "################ Enter into $i/ ################"
        cd $i
        if [ -f main.cpp ]; then
            make -f $MAKEFILE fullclean && rm -f SUCCEEDED tmp.txt
        fi
        if [ $? != 0 ]; then exit 1; fi
        cd $rootdir
        echo "################ Exit  from $i/ ################"
    fi
done
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.