coope/Makefile

26 lines
364 B
Makefile
Raw Normal View History

# This file is under the public domain.
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-18 16:06:26 -05:00
default: pdf dvi
pdf: coope.pdf
2012-02-18 16:06:26 -05:00
dvi: coope.dvi
# intentionally two-pass
%.pdf: $(sec)
pdflatex $< $@
pdflatex $< $@
2012-02-18 16:06:26 -05:00
%.dvi: $(sec)
latex $< $@
latex $< $@
clean:
2012-02-18 16:06:26 -05:00
rm -f coope.{pdf,dvi}