rockbox/tools/checkwps/cleanall.sh
Solomon Peachy 0c8b71b00d checkwps: Update the cleanall script and documentation
Change-Id: I170875f2b199ec5395a8b66976a8bc17d9eb85f8
2024-12-07 18:09:17 -05:00

16 lines
383 B
Bash
Executable file

#!/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
)