summaryrefslogtreecommitdiffstats
path: root/report/Makefile
blob: 6b58488882f522a0a9e234c58aa494f2991bab3b (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
#!/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 = combox.tex
REPORT_INCLUDES = graphs/*.tex chapters/*.tex
DVI = combox.dvi

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

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

$(DVI): $(REPORT) $(REPORT_INCLUDES)
	@latex  $<; latex $<; latex $<

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

.PHONY: clean all