summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2023-07-24 15:00:59 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2023-07-24 16:28:33 +0200
commitff0507d6db02b9fc43e621d51b73419018bb38c8 (patch)
tree5d52c19711bce7b98c950ed7e446f653bb7e1dfb /Makefile
parente40fd395aa354d0d8ea79dbae899fd8346adc8dc (diff)
A1: c++20 variation and report.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 7 insertions, 6 deletions
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}*