summaryrefslogtreecommitdiff
path: root/Lego/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Lego/Makefile')
-rw-r--r--Lego/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lego/Makefile b/Lego/Makefile
index e1e30b1..a2c75bb 100644
--- a/Lego/Makefile
+++ b/Lego/Makefile
@@ -13,6 +13,9 @@ Lego/Lego-KreuzungMitLoch-%.stl: Lego/Lego.scad
Lego/Lego-Looping-%.stl: Lego/Lego.scad
openscad -D '$$fa=$(FA)' -D '$$fs=$(FS)' -D 'Teil="Looping"' -D l=$(word 3,$(subst -, ,$(patsubst %.stl,%,$@))) --export-format stl -o $@ $<
+Lego/Lego-Loopingstart-%.stl: Lego/Lego.scad
+ openscad -D '$$fa=$(FA)' -D '$$fs=$(FS)' -D 'Teil="Loopingstart"' -D l=$(word 3,$(subst -, ,$(patsubst %.stl,%,$@))) -D h=$(word 4,$(subst -, ,$(patsubst %.stl,%,$@))) --export-format stl -o $@ $<
+
Lego/Lego-Prellbock-%.stl: Lego/Lego.scad
openscad -D '$$fa=$(FA)' -D '$$fs=$(FS)' -D 'Teil="Prellbock"' -D l=$(lastword $(subst -, ,$(patsubst %.stl,%,$@))) --export-format stl -o $@ $<