Fixes missing dependencies on scad.py and bezier.py
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
$(shell set -xe; $(PLAY)/commitid.scad.pl >commitid.scad.tmp; cmp commitid.scad.tmp commitid.scad || mv -f commitid.scad.tmp commitid.scad )
-moebius-core.scad: genscad moebius.py
+PYLIBS = $(shell echo *.py)
+
+moebius-core.scad: genscad $(PYLIBS)
./$< >$@.tmp && mv -f $@.tmp $@
AUTO_TOPLEVELS := $(foreach m,$(USING_AUTOS),$(shell $(PLAY)/toplevel-find $m))