summaryrefslogtreecommitdiffstats
path: root/tools/checkwps/cleanall.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/checkwps/cleanall.sh')
-rwxr-xr-xtools/checkwps/cleanall.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/checkwps/cleanall.sh b/tools/checkwps/cleanall.sh
index 860c3afae2..19a3aec6fb 100755
--- a/tools/checkwps/cleanall.sh
+++ b/tools/checkwps/cleanall.sh
@@ -1,9 +1,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 checkwps.$model
+ rm -f $outdir/checkwps.$model # then delete any output/checkwps.*
+ rmdir $outdir > /dev/null 2>&1
done
)