SRC=${wildcard *.tex}
OPT=--pdf

all: main.pdf

clean:
	rubber --clean ${SRC}

main.pdf: ${SRC} garde.pdf
	rubber ${OPT} main.tex

garde.pdf: garde.tex
	pdflatex $<