-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
55 lines (46 loc) · 1.28 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
STYFILES = beamerthemeXDUstyle.sty \
beamercolorthemeXDUstyle.sty \
beamerinnerthemeXDUstyle.sty \
beamerouterthemeXDUstyle.sty \
OUTFILES = hw.out \
mod.out \
mod_bad.out \
strstr.out \
strlen-1.out \
strlen-2.out \
set_invalidate.out \
vec_invalidate.out \
feenableexcept.out \
matrix_bug.out \
pow_mod_bug.out \
overflow.out \
scanf_bound.out \
scanf_bound_asan.out \
vec_invalidate_debug.out \
bsearch_buggy.out \
bapc2018e-time.out \
bapc2018e-gcov.out \
bapc2018e-gprof.out
GENERATED = *.aux *.fdb_latexmk *.fls *.log *.nav *.out *.pdf *.snm *.toc \
*.vrb
all: beamer exercise recitation
.PHONY: beamer
beamer: $(STYFILES)
make -C code $(OUTFILES)
latexmk --lualatex beamer
.PHONY: exercise
exercise:
make -C exercise
.PHONY: recitation
recitation: $(STYFILES)
latexmk --lualatex recitation
.PHONY: clean
clean:
rm -fv $(GENERATED)
make -C exercise clean
make -C code clean
.PHONY: .gitignore
.gitignore:
echo "$(GENERATED)" | sed 's/ /\n/g' > $@
$(STYFILES): theme/XDUstyle.dtx
cd theme; xelatex XDUstyle.dtx