1 2 3 4 5 6 7 8 9 10
include $(wildcard *.dep) %.gcode: %.stl cura -s $< -o $@ %.stl: %.scad openscad $< -o $@ -d $*.dep clean: rm *.dep *.stl