diff options
Diffstat (limited to 'clean')
-rwxr-xr-x | clean | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ #!/bin/sh -find . -type f \( -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 +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 +fi |