chiark
/
gitweb
/
~ijackson
/
dl-things.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
8317 Makefile: add gcode conversion
[dl-things.git]
/
th-8317
/
Makefile
diff --git
a/th-8317/Makefile
b/th-8317/Makefile
index 1c87474b0e960240eec599efce004b89d6710b9b..88acdbd7c3be62fe70682d2130daedc196b33439 100644
(file)
--- a/
th-8317/Makefile
+++ b/
th-8317/Makefile
@@
-15,3
+15,11
@@
iwj-%.scad:
%.stl: %.scad FilamentSpool.scad
openscad -o $@ $<
+
+HRR=/home/reprap
+SLIC3R=$(HRR)/Slic3r/bin/slic3r
+CONFIG=$(HRR)/play/slic3r-config.ini
+
+%.gcode: $(CONFIG) %.stl
+ $(SLIC3R) --load $^ --output $@
+