summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorElena of Valhalla'' Grandi <valhalla@trueelena.org>2014-03-03 12:49:24 +0100
committerElena of Valhalla'' Grandi <valhalla@trueelena.org>2014-03-03 12:49:24 +0100
commit45f4085d956db08ec3d1b82df469cdf613a9dcae (patch)
treea6f046be4c9124cbb70e52db87a8a5517e763141 /Makefile
parent4cabcc50c54903b6127d0d5ff6824cd054f3eb24 (diff)
Card expansion
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 11 insertions, 7 deletions
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