From: Michael S. Tsirkin Date: Thu, 30 Aug 2012 09:59:31 +0000 (+0300) Subject: Makefile: delete output on error X-Git-Tag: rel-1.7.2~85 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=3dcc223e3d83a546ef3aed1fefe638787b7b6706;p=seabios.git Makefile: delete output on error I had a disk full condition and a partial hex file got generated. Following make failed trying to use it. We can make build a bit more robust by instructing make to remove output files on error. Signed-off-by: Michael S. Tsirkin --- diff --git a/Makefile b/Makefile index 45ea48a..20b6dee 100644 --- a/Makefile +++ b/Makefile @@ -75,6 +75,7 @@ all: $(target-y) # Make definitions .PHONY : all clean distclean FORCE +.DELETE_ON_ERROR: vpath %.c src vgasrc vpath %.S src vgasrc