aboutsummaryrefslogtreecommitdiffstats
path: root/clean
blob: 930d2b679da6f6c4efc0bbc51d3ae1007632ad73 (plain)
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