DOC=cryReport INPUT=$(DOC).tex TARGET=$(DOC).pdf REF=ref.bib TEX=pdflatex -shell-escape BIB=bibtex default: $(TARGET) $(TARGET): $(INPUT) Makefile $(TEX) $< && $(BIB) $(DOC) && $(TEX) $< && $(TEX) $< clean: rm -f $(DOC).{pdf,out,aux,log} rm -f *.{pdf,out,aux,log,bbl,blg}