From b816562bbdbcf429b034166169170a6c000508e9 Mon Sep 17 00:00:00 2001 From: Elena of Valhalla'' Grandi Date: Mon, 2 Dec 2013 19:25:20 +0100 Subject: generate gcode from Makefile --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3