summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8be7d896a..13c91f71d 100644
--- a/Makefile
+++ b/Makefile
@@ -84,6 +84,8 @@ endif
.SUFFIXES:
# Don't delete intermediate files
.SECONDARY:
+# Delete files that weren't built properly
+.DELETE_ON_ERROR:
# Create build subdirectories
$(shell mkdir -p $(addprefix $(BUILD_DIR)/, $(SUBDIRS)))