summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 693616a..854e2d2 100644
--- a/Makefile
+++ b/Makefile
@@ -12,6 +12,9 @@ ASYMPTOTE_EXPORTED_SVG_FILES :=
# Non-file goals.
.PHONY: all clean generated dxf stl asy pdf
+# Remove targets whose command failed.
+.DELETE_ON_ERROR:
+
# Goal to build Everything. Also generates files which aren't compiled to anything else. Deined here to make it the default goal.
all: generated dxf stl asy pdf