summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2018-01-13 00:52:23 -0500
committerGitHub <noreply@github.com>2018-01-13 00:52:23 -0500
commit688eb26e6e23de0de4cab21e2c9162675dd0eb03 (patch)
tree968cd93873d36e792cab3807cb4e907fc164afdd
parent88ec8c05e020b547e1abaaabb3cbb57a4848973f (diff)
parentd96095eacb5fd813b06598f4f5f7b6c9eb4f4530 (diff)
Merge pull request #528 from yenatch/delete-on-error
Fix broken builds after running make without tools installed.
-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)))