view Makefile @ 5:a5607d53f55e default tip

fix typo
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 01 Mar 2016 21:25:43 +0900
parents 8319d82cab07
children
line wrap: on
line source

# target name
TARGET=paper

# dependencies
$(TARGET).pdf : $(TARGET).dvi
	dvipdfmx $<

$(TARGET).dvi : $(wildcard **/*.tex) $(TARGET).tex
	platex $(TARGET).tex
	pbibtex $(TARGET)
	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 *.lof *.lot *.lol *.bbl *.blg

all: $(TARGET).pdf

open: $(TARGET).pdf
	open $(TARGET).pdf

remake:
	make clean
	make all