]> xenbits.xensource.com Git - seabios.git/commitdiff
Makefile: delete output on error
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 30 Aug 2012 09:59:31 +0000 (12:59 +0300)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 2 Sep 2012 20:08:23 +0000 (16:08 -0400)
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 <mst@redhat.com>
Makefile

index 45ea48a49157fd8a66c31e67643c5f20856462b5..20b6deea71636d06535faa948f783fd478f83fb5 100644 (file)
--- 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