-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
38 lines (34 loc) · 1 KB
/
Makefile
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
34
35
36
37
38
PROJECT=main
PRESENT=present
TEX=lualatex
BIBTEX=bibtex
BUILDTEX=$(TEX) $(PROJECT).tex
all:
$(BUILDTEX)
$(BIBTEX) $(PROJECT)
$(BUILDTEX)
$(BUILDTEX)
once:
$(BUILDTEX)
one:
$(TEX) -jobname=one "\includeonly{msip/msip}\input{$(PROJECT)}"
two:
$(TEX) -jobname=two --shell-escape "\includeonly{dfo/dfo}\input{$(PROJECT)}"
ftwo:
$(TEX) -jobname=two "\includeonly{front,dfo/dfo}\input{$(PROJECT)}"
three:
$(TEX) -jobname=three "\includeonly{jcc/jcc}\input{$(PROJECT)}"
four:
$(TEX) -jobname=four "\includeonly{oj/oj}\input{$(PROJECT)}"
tf:
$(TEX) -jobname=tf "\includeonly{jcc/jcc,oj/oj}\input{$(PROJECT)}"
intro:
$(TEX) -jobname=intro "\includeonly{intro/intro}\input{$(PROJECT)}"
title:
$(TEX) -jobname=title "\includeonly{front}\input{$(PROJECT)}"
present:
$(TEX) $(PRESENT).tex
clean:
rm -f *.aux *.log *.out *.idx *.lot *.lof *.gz *.toc *~ *.blg *.auxlock *.bbl *.ent
rm -f */*.aux */*.log */*.out */*.idx */*.lot */*.lof */*.gz */*.toc */*~ */*.blg */*.auxlock */*.bbl */*.ent
.PHONY: intro present