aboutsummaryrefslogtreecommitdiffstats
path: root/clean
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2021-08-05 18:30:33 +0100
committerTomasz Kramkowski <tk@the-tk.com>2021-08-05 20:17:48 +0100
commit8c58e5683cbd90d529eb1ea86fce019e553b2248 (patch)
treeb31e8754a56ab0a87170bfecffca3ef434850826 /clean
parent7e7bdc19e76a5f87bccf7a84872f8d45295ee5b7 (diff)
downloadpack-8c58e5683cbd90d529eb1ea86fce019e553b2248.tar.gz
pack-8c58e5683cbd90d529eb1ea86fce019e553b2248.tar.xz
pack-8c58e5683cbd90d529eb1ea86fce019e553b2248.zip
Cross compilation support
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