Altered Makefile to properly build from each source file
parent
7a007acfa5
commit
1e77bdf3ac
9
Makefile
9
Makefile
|
@ -1,13 +1,18 @@
|
|||
# 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
|
||||
.SUFFIXES: .tex .pdf
|
||||
|
||||
default: pdf
|
||||
pdf: coope.pdf
|
||||
|
||||
# intentionally two-pass
|
||||
.tex.pdf:
|
||||
%.pdf: $(sec)
|
||||
pdflatex $< $@
|
||||
pdflatex $< $@
|
||||
|
||||
|
|
Loading…
Reference in New Issue