diff --git a/Makefile b/Makefile index d8f9cc8fab..2e5a74785b 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ # in addition to the dependency below, create the file if it doesn't exist # to silence stupid warnings about a file that would be generated anyway. -$(if $(wildcard .xcompile),,$(eval $(shell util/xcompile/xcompile $(XGCCPATH) > .xcompile))) +$(if $(wildcard .xcompile),,$(eval $(shell util/xcompile/xcompile $(XGCCPATH) > .xcompile || rm -f .xcompile))) .xcompile: util/xcompile/xcompile $< $(XGCCPATH) > $@.tmp