+%.stl: %.scad $(AUTO_INCS)
+ openscad -d .$@.d.tmp -o $*.tmp.stl $<
+ @rm -f $@
+ @sed -e 's/\.tmp\.stl:/.stl:/' <.$@.d.tmp >.$@.d
+ @rm .$@.d.tmp
+ mv -f $*.tmp.stl $@
+
+%.gcode: %.stl $(CONFIG)
+ $(SLIC3R) --load $(CONFIG) \
+ --ignore-nonexistent-config --load $*.slic3r \
+ --output $@.tmp $<