TARGETS = LiteratureNotes.pdf all : $(TARGETS) clean rebuild : make clean_full make all %.pdf : %.tex papers.bib # Incoming wall of text pdflatex $* bibtex $* pdflatex $* pdflatex $* clean : # LaTeX makes way too many output files; get rid of them all rm -f *.out rm -f *~ rm -f *.log rm -f *.aux rm -f *.bbl rm -f *.blg rm -f *.toc clean_full : clean rm -f $(TARGETS)