
PDFlist = TD1.pdf TD2.pdf TD3.pdf \
          DM1.pdf\
          TP1.pdf

all : $(PDFlist) 

%.pdf:%.tex
	pdflatex $<
	pdflatex $<
	pdflatex $<

rebuild : CLEAN $(PDFlist) clean

clean :
	rm -f *.aux *.log *.toc *~ 

CLEAN : clean
	rm -f *.pdf