-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
50 lines (36 loc) · 959 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
CHAPTERS=chap-title.tex \
chap-introduction.tex \
chap-sources.tex \
chap-technique.tex \
chap-analysis.tex \
chap-observations.tex \
chap-veritas.tex \
chap-conclusions.tex \
app-jargon.tex \
app-ellipt.tex \
app-smoothing.tex \
app-liandma.tex
TARGETS=sjf-thesis.pdf sjf-thesis.ps
all: pdf view
pdf: plots sjf-thesis.pdf
gs: sjf-thesis.ps
ghostview $<
ps: sjf-thesis.ps
view: sjf-thesis.pdf
acroread $<
plots:
$(MAKE) -C plots
clean-plots:
$(MAKE) -C plots clean
sjf-thesis.pdf: sjf-thesis.tex $(CHAPTERS) references.bib thesis.cls
sjf-thesis.ps: sjf-thesis.pdf
acroread -toPostScript -size letter $< .
clean:
$(RM) $(TARGETS) *.aux *.log *.toc *.out *.bbl *.blg *.lof *.lot *~
allclean: clean-plots clean
%.pdf: %.tex
pdfelatex $< </dev/null
bibtex $(<:.tex=)
pdfelatex $< </dev/null
pdfelatex $< </dev/null
.PHONY: plots clean clean-plots