update puzzle to latest version to match solution instructions
[ozzloy@gmail.com/3d-printables] / makefile
1 %.amf:%.scad %-data.scad makefile
2 openscad-nightly $< -o $@
3
4 %-makerfarm-3mm.gcode: %.amf %-makerfarm-3mm.ini makefile
5 slic3r \
6 --load $(patsubst %.gcode,%.ini,$@) \
7 --output $@ \
8 $<
9
10 %-makerfarm-1.75mm.gcode: %.amf %-makerfarm-1.75mm.ini makefile
11 slic3r \
12 --load $(patsubst %.gcode,%.ini,$@) \
13 --output $@ \
14 $<
15
16 %.print:%.gcode makefile
17 cp $< /media/${USER}/3D-PRINTER
18 sync
19 umount /media/${USER}/3D-PRINTER
20
21 .PRECIOUS: %.gcode %.amf
22
23 .PHONY: clean %.print
24
25 clean:
26 rm -f *.gcode *.amf