X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=levels%2FMakefile;h=20ccd2a4fe4beb42c74cabfd79a73d79370d9d7d;hb=991bc8c8122820225ddde7dbf5bc163a9c85e67a;hp=312e05c1b3457aa76e10acbdf424fad85cec0e3d;hpb=5280fefe28717f42cc3e430d1137fd7d62187fa7;p=nothing.git diff --git a/levels/Makefile b/levels/Makefile index 312e05c1..20ccd2a4 100644 --- a/levels/Makefile +++ b/levels/Makefile @@ -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