Skip to content

Commit

Permalink
added Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdiem committed Aug 10, 2017
1 parent 0f48d8a commit d0b96a7
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
TEX=thesis
.PHONY: all,clean


all: $(TEX).pdf


$(TEX).pdf: $(TEX).tex thesis.bib lstdefinitions.tex
# for bibtex to work correctly we need to compile twice
pdflatex $(TEX)
bibtex $(TEX)
pdflatex $(TEX)
pdflatex $(TEX)


clean:
# remove all files except for .tex, .bib and the Makefile
find -type f | grep -v 'tex\|bib\|Makefile\|.git\|figures' | xargs rm

0 comments on commit d0b96a7

Please sign in to comment.