summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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