# source: https://tex.stackexchange.com/questions/40738/how-to-properly-make-a-latex-project TEX = pdflatex -shell-escape -interaction=nonstopmode -file-line-error BIB = bibtex TARGET = ifcs2018 .PHONY: all view all : $(TARGET).pdf view : evince $(TARGET).pdf $(TARGET).pdf : $(TARGET).tex references.bib $(TEX) $(TARGET).tex $(BIB) $(TARGET) $(TEX) $(TARGET).tex $(TEX) $(TARGET).tex clean: rm -f $(TARGET).aux $(TARGET).log $(TARGET).out $(TARGET).bbl $(TARGET).blg mrproper: clean rm -f $(TARGET).pdf