[build] Delete incomplete targets if building fails for any reason

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2011-03-27 22:33:33 +01:00
parent b604e8a388
commit 7ccd5b831a

View File

@@ -1106,6 +1106,13 @@ endif # defined(BIN)
hci/keymap/keymap_%.c :
$(Q)$(PERL) $(GENKEYMAP) $* > $@
###############################################################################
#
# Force deletion of incomplete targets
#
.DELETE_ON_ERROR :
###############################################################################
#
# Clean-up