mirror of
https://github.com/dhil/phd-dissertation
synced 2026-03-12 18:48:25 +00:00
Adds a Makefile
This commit is contained in:
24
Makefile
Normal file
24
Makefile
Normal file
@@ -0,0 +1,24 @@
|
||||
TEXC=pdflatex
|
||||
CFLAGS=-interaction=nonstopmode -halt-on-error -file-line-error
|
||||
BIBC=bibtex
|
||||
PAPER=thesis
|
||||
BIBLIO=$(PAPER)
|
||||
|
||||
all: $(PAPER).pdf
|
||||
|
||||
$(PAPER).aux: $(PAPER).tex
|
||||
$(TEXC) $(CFLAGS) $(PAPER)
|
||||
|
||||
$(BIBLIO).bbl: $(PAPER).aux $(BIBLIO).bib
|
||||
$(BIBC) $(PAPER)
|
||||
|
||||
$(PAPER).pdf: $(PAPER).aux $(BIBLIO).bbl
|
||||
$(TEXC) $(CFLAGS) $(PAPER)
|
||||
$(TEXC) $(CFLAGS) $(PAPER)
|
||||
|
||||
clean:
|
||||
rm -f *.log *.aux *.toc *.out
|
||||
rm -f *.bbl *.blg *.fls *.xml
|
||||
rm -f *.fdb_latexmk *.vtc *.cut
|
||||
rm -f $(PAPER).pdf camera-ready.pdf submission.pdf
|
||||
rm -f *.o *.cmx *.cmo
|
||||
Reference in New Issue
Block a user