X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=blobdiff_plain;f=Makefile;h=af3f76d779b9c460164c520595c1c90477859616;hp=840b9a6270560ceb37b3d6826fbc7591b95b1dce;hb=fcd425d28e0fd254673250e4c5d13db7b98aab48;hpb=44aebdabf4066bc007d96ed40a233f34c6004ac8 diff --git a/Makefile b/Makefile index 840b9a6..af3f76d 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,11 @@ SKEINFORGE=python $(HRR)/reprappro-software.git/skeinforge/skeinforge_applicatio CONFIG=slic3r-config.ini +AUTO_TOPLEVELS := $(foreach m, filamentspool, $(shell ./toplevel-find $m)) + +scads: $(addsuffix .scad, $(AUTO_TOPLEVELS)) +stls: $(addsuffix .stl, $(AUTO_TOPLEVELS)) + default: %.stl: %.scad @@ -18,3 +23,10 @@ default: %.gcode: manual-gcode-generator %.m-g ./$^ >$@.new && mv -f $@.new $@ + +dovecliptest.stl: doveclip.scad + +%.scad: toplevel-make Makefile toplevel-find + @echo ' write $@' + ./$< $@ >$@.new + @mv -f $@.new $@