aboutsummaryrefslogtreecommitdiffstats
path: root/clean
blob: ae420c3663ac60aa1c3c6b82fd46842f94a67435 (plain)
1
2
3
4
5
6
7
#!/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' \) -exec rm -f {} +
	rm -f .compile .link-executable .link-library .vars.rc all compile_flags.txt libpack.so test test_gen
fi