From 0709ab26b17a92de950024f82a0295c06ab8fe3d Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Tue, 31 Jul 2018 20:52:09 +0000 Subject: generate multiswitch stls --- (limited to 'Makefile') diff --git a/Makefile b/Makefile index a488056..1d758a3 100644 --- a/Makefile +++ b/Makefile @@ -23,6 +23,10 @@ another-%-lever.stl: another-%.scad another.scad another-%-knob.stl: another-%.scad another.scad $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="knob"' -o "$@" "$<" +multiswitch: multiswitch.c8r.scad $(addsuffix .stl,$(addprefix multiswitch-embeddest-,2 3 4 5 6)) +multiswitch-embeddest-%.stl: multiswitch-embeddest.scad + $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D inputs=$* -o "$@" "$<" + multiswitch.c8r.scad: multiswitch-c8r.scad threads.scad pushfit_data.scad pushfittery.scad multiswitch.scad @echo "Preprocessing into $@…" @( \ -- cgit v0.9.0.2