aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0cd82e9..874a9b8 100644
--- a/Makefile
+++ b/Makefile
@@ -44,9 +44,13 @@ stl: $(STLDIR) $(STL)
$(STLDIR)/gridfinity.stl: gridfinity.scad
@echo
-$(STLDIR)/psu.stl: $(BITSTORAGE_SIZES)
+$(STLDIR)/psu.stl: psu.scad
@echo
+$(STLDIR)/psu_%.stl: psu.scad
+ @echo [ STL ] $< $*
+ @$(SCAD) $(STLOPTS) -o $@ psu_$*.scad
+
$(STLDIR)/bitstorage_%.stl: bitstorage.scad
@echo [ STL ] $< $*
@$(SCAD) $(STLOPTS) \