summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXANTRONIX Development2023-11-26 00:19:38 -0500
committerXANTRONIX Development2023-11-26 00:19:38 -0500
commit1c5ac513866ccbb62da185fcce2265280c1863c9 (patch)
treed1aeceb40c281f9e39c6be6ab71a0eaf100afd2c
parentd2977c745c828592dfc6f30ad181f64d5618f5f0 (diff)
downloadxantronix-z32-1c5ac513866ccbb62da185fcce2265280c1863c9.tar.gz
xantronix-z32-1c5ac513866ccbb62da185fcce2265280c1863c9.tar.bz2
xantronix-z32-1c5ac513866ccbb62da185fcce2265280c1863c9.zip
This also seems to work
-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