summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 880eb7e..65700db 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,8 @@
DESTDIR=build
+CONFDIR=conf
+
+SLIC3R=~/opt/Slic3r/bin/slic3r
tiles:
mkdir -p ${DESTDIR}
@@ -19,4 +22,12 @@ coins:
done \
done
+gcode: tiles coins
+ for T in ${DESTDIR}/tile*; do \
+ ${SLIC3R} --load ${CONFDIR}/tiles.ini $$T; \
+ done
+ for T in ${DESTDIR}/coin*; do \
+ ${SLIC3R} --load ${CONFDIR}/coins.ini $$T; \
+ done
+
all: tiles coins