X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=blobdiff_plain;f=Makefile;h=d667e227ea737817417e323eb97b1efa28968ba7;hp=3d1b5a512e0e96ae3a055ef3ffc0a468ec3f5ccc;hb=1502442426fbfc9fcb79b98cc5cd25376726f972;hpb=4d64f5926122c37a8bb18478dd89a4a03402d13f diff --git a/Makefile b/Makefile index 3d1b5a5..d667e22 100644 --- a/Makefile +++ b/Makefile @@ -39,6 +39,12 @@ stls: $(addsuffix .auto.stl, $(AUTO_TOPLEVELS)) --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 $@ @@ -50,6 +56,9 @@ stls: $(addsuffix .auto.stl, $(AUTO_TOPLEVELS)) dovecliptest.stl: doveclip.scad $(AUTO_INCS) +%: %.pl + ./$< >$@.tmp && mv -f $@.tmp $@ + %.auto.scad: $(PLAY)/toplevel-make Makefile $(PLAY)/toplevel-find @echo ' write $@' $< $@ >$@.tmp