coope/Makefile

26 lines
364 B
Makefile

# 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
.PHONY: default pdf dvi
default: pdf dvi
pdf: coope.pdf
dvi: coope.dvi
# intentionally two-pass
%.pdf: $(sec)
pdflatex $< $@
pdflatex $< $@
%.dvi: $(sec)
latex $< $@
latex $< $@
clean:
rm -f coope.{pdf,dvi}