snippet latex TEX := $(wildcard *.tex) $1.pdf: ${TEX} pdflatex -jobname=$1 $^ clean: rm -rf *.aux *.log *.pdf endsnippet