]> git.lizzy.rs Git - nothing.git/blobdiff - levels/Makefile
(#587) Use scripts_of_svg.py to generate deps for Makefile
[nothing.git] / levels / Makefile
index 49889e500f86ca024854870bdbbd71bad7331597..20ccd2a4fe4beb42c74cabfd79a73d79370d9d7d 100644 (file)
@@ -3,7 +3,9 @@ TXTS=$(SVGS:.svg=.txt)
 
 all: $(TXTS)
 
-%.txt: %.svg
+.SECONDEXPANSION:
+
+%.txt: %.svg $$(shell python3 ../devtools/scripts_of_svg.py $$*.svg)
        python3 ../devtools/svg2rects.py $< $@
 
 .PHONY: clean watch