From 45f4085d956db08ec3d1b82df469cdf613a9dcae Mon Sep 17 00:00:00 2001 From: Elena of Valhalla'' Grandi Date: Mon, 3 Mar 2014 12:49:24 +0100 Subject: Card expansion --- Makefile | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 09ba199..dcf3403 100644 --- a/Makefile +++ b/Makefile @@ -4,10 +4,14 @@ CONFDIR=conf SLIC3R=~/opt/Slic3r/bin/slic3r +SUITES=suns moons crowns arms +SUITES=clubs diamonds hearts spades +VALUES=null ace 2 3 4 5 + tiles: mkdir -p ${DESTDIR} - for SUITE in suns moons crowns arms; do \ - for VALUE in null ace 2 3 4 5; do \ + for SUITE in ${SUITES}; do \ + for VALUE in ${VALUES}; do \ openscad -o ${DESTDIR}/tile-$$SUITE-$$VALUE.stl \ -D suite=\"$$SUITE\" -D value=\"$$VALUE\" src/tile.scad; \ done \ @@ -15,8 +19,8 @@ tiles: coins: mkdir -p ${DESTDIR} - for SUITE in suns moons crowns arms; do \ - for VALUE in null ace 2 3 4 5; do \ + for SUITE in ${SUITES}; do \ + for VALUE in ${VALUES}; do \ openscad -o ${DESTDIR}/coin-$$SUITE-$$VALUE.stl \ -D suite=\"$$SUITE\" -D value=\"$$VALUE\" src/coin.scad; \ done \ @@ -24,7 +28,7 @@ coins: dice: mkdir -p ${DESTDIR} - for SUITE in suns moons crowns arms; do \ + for SUITE in ${SUITES}; do \ openscad -o ${DESTDIR}/die-$$SUITE.stl \ -D suite=\"$$SUITE\" src/die.scad; \ done @@ -33,14 +37,14 @@ dice: pawns: mkdir -p ${DESTDIR} - for SUITE in suns moons crowns arms; do \ + for SUITE in ${SUITES}; do \ openscad -o ${DESTDIR}/pawn-$$SUITE.stl \ -D suite=\"$$SUITE\" src/pawn.scad; \ done saucers: mkdir -p ${DESTDIR} - for SUITE in suns moons crowns arms; do \ + for SUITE in ${SUITES}; do \ openscad -o ${DESTDIR}/saucer-$$SUITE.stl \ -D suite=\"$$SUITE\" src/saucer.scad; \ done -- cgit v1.2.3