comparison Makefile @ 0:8319d82cab07

add files
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Sun, 28 Feb 2016 21:41:40 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:8319d82cab07
1 # target name
2 TARGET=paper
3
4 # dependencies
5 $(TARGET).pdf : $(TARGET).dvi
6 dvipdfmx $<
7
8 $(TARGET).dvi : $(wildcard **/*.tex) $(TARGET).tex
9 platex $(TARGET).tex
10 pbibtex $(TARGET)
11 platex $(TARGET).tex
12 platex $(TARGET).tex
13
14
15 # commands
16 .PHONY : clean all open remake
17
18 clean:
19 rm -f *.dvi *.aux *.log *.pdf *.ps *.gz *.bbl *.blg *.toc *~ *.core *.cpt *.lof *.lot *.lol *.bbl *.blg
20
21 all: $(TARGET).pdf
22
23 open: $(TARGET).pdf
24 open $(TARGET).pdf
25
26 remake:
27 make clean
28 make all