aboutsummaryrefslogtreecommitdiffstats
path: root/clean
diff options
context:
space:
mode:
Diffstat (limited to 'clean')
-rwxr-xr-xclean5
1 files changed, 3 insertions, 2 deletions
diff --git a/clean b/clean
index ae420c3..5d6fc0d 100755
--- a/clean
+++ b/clean
@@ -2,6 +2,7 @@
if command -v redo-targets >/dev/null 2>&1; then
redo-targets | tr '\n' '\0' | xargs -r0 rm -f
else
- find . -type f \( -o -name '*.o' -o -name '*.inc' \) -exec rm -f {} +
- rm -f .compile .link-executable .link-library .vars.rc all compile_flags.txt libpack.so test test_gen
+ find . -type f \( -o -name '*.o' -o -name '*.inc' -o '*.tool' \) \
+ -exec rm -f {} +
+ rm -f .vars.rc all compile_flags.txt libpack.so test test_gen
fi