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 (from parent 1:
f0d546b
)
Makefile: new %.gcode-sd rule
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 27 May 2014 21:27:20 +0000
(22:27 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 27 May 2014 21:27:20 +0000
(22:27 +0100)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 3d1b5a512e0e96ae3a055ef3ffc0a468ec3f5ccc..4afba5d42848dca8a22d88a433b96a4b8e94a3cd 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-39,6
+39,12
@@
stls: $(addsuffix .auto.stl, $(AUTO_TOPLEVELS))
--output $@.tmp $<
@mv -f $@.tmp $@
--output $@.tmp $<
@mv -f $@.tmp $@
+%.gcode-sd: %.gcode
+ mount /media/sd
+ cp $^ /media/sd/JOB.G
+ sleep 0.5
+ umount /media/sd
+
%: %.cpp
cpp -nostdinc -P <$< >$@.tmp && mv -f $@.tmp $@
%: %.cpp
cpp -nostdinc -P <$< >$@.tmp && mv -f $@.tmp $@