# HG changeset patch # User Yasutaka Higa # Date 1424145678 -32400 # Node ID 5dd2ba30983cdbafbaa1b78f7ce7ace7aed8b767 # Parent 7848919edb482c060023c1a019cae71592c341a6 Add Makefile diff -r 7848919edb48 -r 5dd2ba30983c Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile Tue Feb 17 13:01:18 2015 +0900 @@ -0,0 +1,27 @@ +# target name +TARGET=abst + +# dependencies +$(TARGET).pdf : $(TARGET).dvi + dvipdfmx $< + +$(TARGET).dvi : $(wildcard **/*.tex) $(TARGET).tex + platex $(TARGET).tex + platex $(TARGET).tex + platex $(TARGET).tex + + +# commands +.PHONY : clean all open remake + +clean: + rm -f *.dvi *.aux *.log *.pdf *.ps *.gz *.bbl *.blg *.toc *~ *.core *.cpt + +all: $(TARGET).pdf + +open: $(TARGET).pdf + open $(TARGET).pdf + +remake: + make clean + make all