summaryrefslogtreecommitdiff
path: root/tools/checkwps/cleanall.sh
blob: 19a3aec6fbac88a807f5beb98c0e89bf6fb80842 (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
cat $rootdir/targets.txt | (
    while read target model
    do
        rm -f $outdir/checkwps.$model # then delete any output/checkwps.*
        rmdir $outdir > /dev/null 2>&1
    done
)