chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3e676ee
)
Makefile: better handling of slic3r config
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 10 Aug 2012 15:29:39 +0000
(16:29 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 10 Aug 2012 15:29:39 +0000
(16:29 +0100)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 628cbf1b5daf70fae90a1dfa614e652726c259a6..47cfc9f2c040e7cfbcbc0f1cb67f7ca2ef896712 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-2,11
+2,13
@@
HRR=/home/reprap
SLIC3R=$(HRR)/Slic3r/bin/slic3r
HRR=/home/reprap
SLIC3R=$(HRR)/Slic3r/bin/slic3r
+CONFIG=slic3r-config.ini
+
default:
%.stl: %.scad
openscad -o $@ $<
default:
%.stl: %.scad
openscad -o $@ $<
-%.gcode: %.stl
- $(SLIC3R) --load
slic3r-config.ini $<
--output $@
+%.gcode:
$(CONFIG)
%.stl
+ $(SLIC3R) --load
$^
--output $@