summaryrefslogtreecommitdiffstats
path: root/tools/checkwps/cleanall.sh
blob: 4b3c72bd238afb8ea8ab17dad73b22582f4a8427 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
rootdir=`dirname $0`
outdir=$rootdir/output

make clean # make clean the build dir first
rm -f autoconf.h
rm -f Makefile
awk -f $rootdir/parse_configure.awk $rootdir/../configure | (
    while read target model
    do
        rm -f $outdir/checkwps.$model # then delete any output/checkwps.*
        rmdir $outdir > /dev/null 2>&1
    done
)