SRC=${wildcard *.tex} all: main.pdf clean: rubber --clean ${SRC} main.pdf: ${SRC} rubber -d main.tex garde.pdf: garde.tex pdflatex $<