Browse Source

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

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 13 years ago
parent
commit
7ccd5b831a
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      src/Makefile.housekeeping

+ 7
- 0
src/Makefile.housekeeping View File

@@ -1106,6 +1106,13 @@ endif # defined(BIN)
1106 1106
 hci/keymap/keymap_%.c :
1107 1107
 	$(Q)$(PERL) $(GENKEYMAP) $* > $@
1108 1108
 
1109
+###############################################################################
1110
+#
1111
+# Force deletion of incomplete targets
1112
+#
1113
+
1114
+.DELETE_ON_ERROR :
1115
+
1109 1116
 ###############################################################################
1110 1117
 #
1111 1118
 # Clean-up

Loading…
Cancel
Save