blob: c3430620225b09a03db480defb0f485cca478638 (
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
31
32
33
34
35
36
37
38
39
40
41
|
PRE=au_BentBisballeNyeng_
all: A4 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}$@ 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}$@ 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}$@ a3/exercise.tex
xelatex -halt-on-error -jobname=${PRE}$@ a3/exercise.tex
rm -f ${PRE}$@.aux ${PRE}$@.log
A4:
zip ${PRE}$@.zip a4/Makefile
zip ${PRE}$@.zip a4/*.cc
zip ${PRE}$@.zip a4/*.h
zip ${PRE}$@.zip a4/*.log
zip ${PRE}$@.zip a4/*.m
(cd a4; for m in *.m; do octave $${m}; done)
xelatex -halt-on-error -jobname=${PRE}$@ a4/exercise.tex
xelatex -halt-on-error -jobname=${PRE}$@ a4/exercise.tex
rm -f ${PRE}$@.aux ${PRE}$@.log
Tour3_Log:
xelatex -halt-on-error -jobname=${PRE}$@ tour3_log/tour3_log.tex
rm -f ${PRE}$@.aux ${PRE}$@.log
clean:
rm -f ${PRE}*
|