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

if [ -f Makefile ] ; then
  make clean # make clean the build dir first
fi
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
)