aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 $@ $<