From 6a8ae2de4261fecd0281685b9eea66bbd82bd7fb Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Tue, 1 Aug 2023 08:27:01 +0200 Subject: A4: WIP --- Makefile | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a975039..3293304 100644 --- a/Makefile +++ b/Makefile @@ -1,29 +1,38 @@ PRE=au_BentBisballeNyeng_ -all: A3 Tour3_Log +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}$@ -auxdir=build a1/exercise.tex + 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}$@ -auxdir=build a2/exercise.tex + 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}$@ -auxdir=build a3/exercise.tex - xelatex -halt-on-error -jobname=${PRE}$@ -auxdir=build a3/exercise.tex + 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/console.log + 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}$@ -auxdir=build tour3_log/tour3_log.tex + xelatex -halt-on-error -jobname=${PRE}$@ tour3_log/tour3_log.tex rm -f ${PRE}$@.aux ${PRE}$@.log clean: -- cgit v1.2.3