2012-02-15 23:11:23 -05:00
|
|
|
# This file is under the public domain.
|
|
|
|
|
2012-02-17 22:01:11 -05:00
|
|
|
sec = coope.tex \
|
|
|
|
sec/class-like.tex \
|
|
|
|
sec/encap-hacks.tex \
|
|
|
|
sec/hacking-proto.tex \
|
|
|
|
sec/licenses.tex
|
|
|
|
|
2012-02-18 16:06:26 -05:00
|
|
|
.PHONY: default pdf dvi
|
2012-02-15 23:11:23 -05:00
|
|
|
|
2012-02-18 16:06:26 -05:00
|
|
|
default: pdf dvi
|
2012-02-15 23:11:23 -05:00
|
|
|
pdf: coope.pdf
|
2012-02-18 16:06:26 -05:00
|
|
|
dvi: coope.dvi
|
2012-02-15 23:11:23 -05:00
|
|
|
|
|
|
|
# intentionally two-pass
|
2012-02-17 22:01:11 -05:00
|
|
|
%.pdf: $(sec)
|
2012-02-15 23:11:23 -05:00
|
|
|
pdflatex $< $@
|
|
|
|
pdflatex $< $@
|
|
|
|
|
2012-02-18 16:06:26 -05:00
|
|
|
%.dvi: $(sec)
|
|
|
|
latex $< $@
|
|
|
|
latex $< $@
|
|
|
|
|
2012-02-15 23:11:23 -05:00
|
|
|
clean:
|
2012-02-18 16:06:26 -05:00
|
|
|
rm -f coope.{pdf,dvi}
|