From 68d62dca25605004986789084dc7c1592e27fad5 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 7 Nov 2017 12:42:08 +0000 Subject: [PATCH] Makefile: introduce PYLIBS Fixes missing dependencies on scad.py and bezier.py Signed-off-by: Ian Jackson --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d0075d8..f6c672a 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,9 @@ USING_AUTOS = moebius $(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)) -- 2.30.2