]> git.lizzy.rs Git - nothing.git/blobdiff - levels/Makefile
(#608) Implement (send) function
[nothing.git] / levels / Makefile
index 312e05c1b3457aa76e10acbdf424fad85cec0e3d..20ccd2a4fe4beb42c74cabfd79a73d79370d9d7d 100644 (file)
@@ -1,10 +1,11 @@
 SVGS=$(wildcard ./*.svg)
-LISPS=$(wildcard ./*.lisp)
 TXTS=$(SVGS:.svg=.txt)
 
 all: $(TXTS)
 
-%.txt: %.svg $(LISPS)
+.SECONDEXPANSION:
+
+%.txt: %.svg $$(shell python3 ../devtools/scripts_of_svg.py $$*.svg)
        python3 ../devtools/svg2rects.py $< $@
 
 .PHONY: clean watch