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 \( -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