aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index dcf3403..f394ddc 100644
--- a/Makefile
+++ b/Makefile
@@ -49,6 +49,20 @@ saucers:
-D suite=\"$$SUITE\" src/saucer.scad; \
done
+pyramids:
+ mkdir -p ${DESTDIR}
+ for SUITE in ${SUITES}; do \
+ for VALUE in ${VALUES}; do \
+ for S in "25 45" "20 35" "14 25"; do \
+ W=`echo $$S | cut -d' ' -f 1`; \
+ H=`echo $$S | cut -d' ' -f 2`; \
+ openscad -o ${DESTDIR}/pyramid-$${W}x$$H-$$SUITE-$$VALUE.stl \
+ -D suite=\"$$SUITE\" -D value=\"$$VALUE\" \
+ -D w=$$W -D h=$$H src/pyramid.scad; \
+ done \
+ done \
+ done
+
gcode: tiles coins dice saucers
for T in ${DESTDIR}/tile*.stl; do \
${SLIC3R} --load ${CONFDIR}/tiles.ini $$T; \
@@ -60,4 +74,4 @@ gcode: tiles coins dice saucers
${SLIC3R} --load ${CONFDIR}/dice.ini $$T; \
done
-all: tiles coins dice pawns saucers
+all: tiles coins dice pawns saucers pyramids