LATEX=platex
DVI2PDF=dvipdfmx
TEXFILE=sample

build:
	${LATEX} ${TEXFILE}.tex
	${LATEX} ${TEXFILE}.tex
pdf:
	${DVI2PDF} ${TEXFILE}.dvi
view:
	xdvi ${TEXFILE}.dvi &
clean:
	rm -f ${TEXFILE}.dvi ${TEXFILE}.pdf ${TEXFILE}.log ${TEXFILE}.aux texput.log
