options=-shell-escape -file-line-error all: main.pdf %.pdf: %.tex lualatex $(options) $<