TARGET=final-thesis TEX=platex DVIPDF=dvipdfmx .SUFFIXES: .tex .dvi .pdf all:$(TARGET).pdf open $(TARGET).pdf $(TARGET).dvi: $(TARGET).tex $(TARGET).pdf: $(TARGET).dvi .tex.dvi: $(TEX) $< $(TEX) $< .dvi.pdf: $(DVIPDF) $< clean: rm -f $(TARGET).dvi $(TARGET).aux $(TARGET).log rm -f $(TARGET).pdf *~