diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a6ea8d6 --- /dev/null +++ b/Makefile @@ -0,0 +1,20 @@ +TARGET=cours_git + +all: pdf + +# If there is no bibliography comment the bibtext dependency +pdf: #bibtex + pdflatex $(TARGET).tex + pdflatex $(TARGET).tex + +pdf-lazy: + pdflatex $(TARGET).tex + +bibtex: pdf-lazy + bibtex $(TARGET) + +clean: + rm -f *.dvi *.aux *.bbl *.blg $(TARGET).ps *.toc *.ind *.out *.brf *.ilg *.idx *.log *.bcf *.nav *.run.xml *.snm *.vrb *.backup tex/*.backup *~ + +clean_all: clean + rm -f $(TARGET).pdf