aboutsummaryrefslogtreecommitdiff
path: root/markley/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'markley/Makefile')
-rw-r--r--markley/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/markley/Makefile b/markley/Makefile
index 00a26bd..6911aaf 100644
--- a/markley/Makefile
+++ b/markley/Makefile
@@ -1,10 +1,12 @@
.POSIX:
-essayone.pdf: essayone.tex essayone.bib
- pdflatex essayone.tex
- bibtex8 essayone
- pdflatex essayone.tex
- pdflatex essayone.tex
+all: essayone.pdf essaytwo.pdf
+
+%.pdf: %.tex %.bib
+ pdflatex $*.tex
+ bibtex8 $*
+ pdflatex $*.tex
+ pdflatex $*.tex
clean:
- rm -f essayone{-blx.bib,.{aux,bbl,bcf,blg,log,out,pdf,run.xml}}
+ rm -f essay{one,two}{-blx.bib,.{aux,bbl,bcf,blg,log,out,pdf,run.xml}}