aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2024-09-14 19:49:29 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2024-09-14 19:49:29 +0200
commit0bf33005101855c7617c47ecf66d136fea724e51 (patch)
tree92f1fb5e1c147a3b6231822a1cea8603c9bcaea3 /Makefile
parent471dbd8d1d578ad6d2d558c1c1bb2e39d589f070 (diff)
downloadoscad_gridfinity-0bf33005101855c7617c47ecf66d136fea724e51.tar.gz
psu dependency is now right
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) \