summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a0f93e250..585236e75 100644
--- a/Makefile
+++ b/Makefile
@@ -43,8 +43,10 @@ SCANINC := tools/scaninc/scaninc
PREPROC := tools/preproc/preproc
RAMSCRGEN := tools/ramscrgen/ramscrgen
-# Clear the default suffixes.
+# Clear the default suffixes
.SUFFIXES:
+# Delete files that weren't built properly
+.DELETE_ON_ERROR:
# Secondary expansion is required for dependency variables in object rules.
.SECONDEXPANSION: