diff options
author | Elena of Valhalla'' Grandi <valhalla@trueelena.org> | 2013-12-02 19:25:20 +0100 |
---|---|---|
committer | Elena of Valhalla'' Grandi <valhalla@trueelena.org> | 2013-12-02 19:25:20 +0100 |
commit | b816562bbdbcf429b034166169170a6c000508e9 (patch) | |
tree | 15f25e95b9c9dec562e22aec6b297b96d69f98b3 /Makefile | |
parent | 1db4e5a7704d14020bd3a21de22188757311779e (diff) |
generate gcode from Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 |