1 2 3 4 5 6 7 8
#!/bin/sh if command -v redo-targets >/dev/null 2>&1; then redo-targets | tr '\n' '\0' | xargs -r0 rm -f else find . -type f \( -name '*.o' -o -name '*.inc' -o -name '*.tool' \) \ -exec rm -f {} + rm -f .vars.rc all compile_flags.txt libpack test test_gen fi