all: $(subst .tex,.pdf,$(wildcard *.tex)) %.pdf: %.tex latexmk -pdf -shell-escape -pdflatex="lualatex" $<