MAKE=make -f Makefile LATEX=platex BIBTEX=jbibtex MENDEX=mendex DVIPS=pdvips DVI2PDF=dvipdfmx DVI2PDF_OPT=-f ptex-hiragino.map RM = rm -f TARGET=master_paper PS_SUFFIX=.ps PDF_SUFFIX=.pdf .SUFFIXES: .tex .dvi .pdf .toc default: $(TARGET).pdf .dvi.pdf: $(DVI2PDF) $(DVI2PDF_OPT) $^ .tex.dvi: $(LATEX) $< bib: dvi @echo "========== MAKE Bib file ($(MAIN_TARGET).dvi) ==========" $(BIBTEX) $(MAIN_TARGET) $(TARGET).dvi: abstract.tex introduction.tex cbc.tex gcc.tex implementation.tex evaluations.tex conclusion.tex thanx.tex bibliography.tex presentations.tex appendix.tex clean: @echo "remove $(TARGET).{aux,log,toc,lof,lot,blg,bbl,ilg,idx,ind,dvi,ps,pdf,out}" $(RM) $(TARGET).{aux,log,toc,lof,lot,blg,bbl,ilg,idx,ind,dvi,ps,pdf,out} veryclean: clean find ./ -name \*~ -exec rm -f {} \;