We should use --ignore-fail-on-non-empty instead of -rf

This commit is contained in:
Xiangfu 2015-07-10 11:13:39 +08:00
parent 4699e25b63
commit b7fdb3e48e

View File

@ -247,7 +247,7 @@ clean:
rm -f $(foreach f, $(COMPARE_TESTS), test.out/compare_$(f).fcd)
rm -f $(foreach f, $(COMPARE_TESTS), test.out/compare_$(f).fce)
rm -f test.out/compare_xc6slx9.fp
rm -rf test.out test.gold
rmdir --ignore-fail-on-non-empty test.out test.gold
install: fp2bit bit2fp
@$(MAKE) -C libs install