aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2023-01-24 02:55:20 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2023-01-24 02:55:20 +0100
commitf2074c15ceb9e3a4511343fd2d2738cda804691e (patch)
tree1f15c63e2068ac4280136d1d4981d3e437ef097d /Makefile
parentc08de309e09f1153b3187f3e9b4f823ca1d45d3b (diff)
downloadoscad_gridfinity-f2074c15ceb9e3a4511343fd2d2738cda804691e.tar.gz
Multibuild for bitstorage
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2c2899e..0e0c6a9 100644
--- a/Makefile
+++ b/Makefile
@@ -24,6 +24,17 @@ stl: $(STLDIR) $(STL)
$(STLDIR)/gridfinity.stl: gridfinity.scad
@echo
+$(STLDIR)/bitstorage_1x2.stl: bitstorage.scad
+ @echo [ STL ] $<
+ @$(SCAD) $(STLOPTS) -D ux=2 -o $@ $<
+
+$(STLDIR)/bitstorage_1x1.stl: bitstorage.scad
+ @echo [ STL ] $<
+ @$(SCAD) $(STLOPTS) -D ux=1 -o $@ $<
+
+$(STLDIR)/bitstorage.stl: $(STLDIR)/bitstorage_1x1.stl $(STLDIR)/bitstorage_1x2.stl
+ @echo
+
$(STLDIR)/%.stl: %.scad
@echo [ STL ] $<
@$(SCAD) $(STLOPTS) -o $@ $<