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