blob: 060fe2efb3235c8a20c57b833c1befc2f60cd264 (
plain)
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
|
LATEXMK = latexmk -interaction=nonstopmode
tcr.pdf: FORCE
$(LATEXMK) -pdf tcr
pdf: tcr.pdf tcr-opt.pdf
tcr-opt.pdf: FORCE
$(LATEXMK) -pdf -jobname=tcr-opt -usepretex="\def\OPTIONAL{}" tcr
all: pdf test
test:
+gmake -f TestMakefile
clean: cleanpdf cleantest
cleanpdf:
$(LATEXMK) -C tcr
$(LATEXMK) -C -jobname=tcr-opt tcr
rm -f *.thm
cleantest:
+-gmake -f TestMakefile cleantest
FORCE:
.PHONY: all pdf test clean cleanpdf cleantest FORCE
|