summaryrefslogtreecommitdiff
path: root/Makefile
blob: a9750397fd5a5fa98fb3d10f1f13c8a5becabcc4 (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
29
30
PRE=au_BentBisballeNyeng_
all: A3 Tour3_Log

A1:
	zip ${PRE}$@.zip a1/hello.cc
	zip ${PRE}$@.zip a1/hello-cpp20.cc
	zip ${PRE}$@.zip a1/Makefile
	xelatex -halt-on-error -jobname=${PRE}$@ -auxdir=build a1/exercise.tex
	rm -f ${PRE}$@.aux ${PRE}$@.log

A2:
	zip ${PRE}$@.zip a2/Makefile
	zip ${PRE}$@.zip a2/measurement.cc
	xelatex -halt-on-error -jobname=${PRE}$@ -auxdir=build a2/exercise.tex
	rm -f ${PRE}$@.aux ${PRE}$@.log

A3:
	zip ${PRE}$@.zip a3/Makefile
	zip ${PRE}$@.zip a3/concurrency.cc
	zip ${PRE}$@.zip a3/console.log
	xelatex -halt-on-error -jobname=${PRE}$@ -auxdir=build a3/exercise.tex
	xelatex -halt-on-error -jobname=${PRE}$@ -auxdir=build a3/exercise.tex
	rm -f ${PRE}$@.aux ${PRE}$@.log

Tour3_Log:
	xelatex -halt-on-error -jobname=${PRE}$@ -auxdir=build tour3_log/tour3_log.tex
	rm -f ${PRE}$@.aux ${PRE}$@.log

clean:
	rm -f ${PRE}*