summaryrefslogtreecommitdiff
path: root/Makefile
blob: b53744eb49d92d2d5d4d712984f0c83d65241519 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
PRE=au_BentBisballeNyeng_
all: A2 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

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}*