blob: ab7aa8a5b894b54acfe40c789b1772d2bf96e41c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
PDFLATEX=pdflatex -shell-escape
all: pgfplots.pdf pgfplotstable.pdf
@echo "$^ have been compiled successfully. I did NOT check for references, so you may need to rerun make several times."
pgfplots: pgfplots.pdf
pgfplotstable: pgfplotstable.pdf
%.pdf: FORCE
@$(PDFLATEX) $(@:.pdf=.tex)
@bibtex $(@:.pdf=) || exit 0
@makeindex $(@:.pdf=) || exit 0
@echo ""
@echo "$@ compiled successfully. You may need to re-run make several times to get all cross-references right."
clean:
rm -f *.aux *.ind *.idx *.toc *.out *.log *.ilg *.dvi pgfplots.pdf pgfplotstable.pdf *.djs *.bbl *.blg
FORCE:
|