summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--case/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/case/Makefile b/case/Makefile
index 561cd7a..a429d5d 100644
--- a/case/Makefile
+++ b/case/Makefile
@@ -9,12 +9,9 @@ OPENSCAD = /usr/bin/openscad
all: $(SCAD_MODELS) $(STL_MODELS)
top-keyboard.scad: SCAD_INPUT = top.scad
-top-keyboard.scad: top.scad
-
top-outline.scad: SCAD_INPUT = outline.scad
-top-outline.scad: outline.scad
-$(SCAD_MODELS):
+$(SCAD_MODELS): $(SCAD_INPUT)
cat $(SCAD_INCLUDE) $(SCAD_INPUT) > $@
$(STL_MODELS): %.stl: %.scad