From ff0507d6db02b9fc43e621d51b73419018bb38c8 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Mon, 24 Jul 2023 15:00:59 +0200 Subject: A1: c++20 variation and report. --- Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ce36bd1..4b3b255 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,12 @@ +PRE=au_BentBisballeNyeng_ all: A1 A1: - zip au_BentBisballeNyeng_a1.zip a1/hello.cc - zip au_BentBisballeNyeng_a1.zip a1/hello-cpp20.cc - zip au_BentBisballeNyeng_a1.zip a1/Makefile - xelatex --jobname=au_BentBisballeNyeng.tex a1/exercise.tex + 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 clean: - rm -f au_BentBisballeNyeng*.log - rm -f au_BentBisballeNyeng*.aux + rm -f ${PRE}* -- cgit v1.2.3