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