summaryrefslogtreecommitdiffstats
path: root/report/Makefile
blob: 307819f32e6d9cb81c8d06a63e03f1cb6dd0efcd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/make
#
# combox - report
#
# Makefile
#
# By Siddharth Ravikumar <sravik@bgsu.edu>
#
# No rights reserved. Dedicated to Public Domain.
# <https://creativecommons.org/publicdomain/zero/1.0/>

PDF = combox-report.pdf
REPORT_TEX = combox.tex
REPORT_AUX = combox.aux
REPORT_INCLUDES = graphs/*.tex chapters/*.tex bib/combox.bib appendix/*.tex prologue/*.tex
DVI = combox.dvi

all: $(PDF)
	@evince $(PDF) &

$(PDF): $(DVI)
	@dvipdf $< $@

$(DVI): $(REPORT_TEX) $(REPORT_INCLUDES)
	@latex  $<
	@bibtex $(REPORT_AUX)
	@latex $<
	@latex $<

clean:
	rm -f $(PDF) *.aux *.dvi *.log *~

.PHONY: clean all