summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2023-08-01 08:27:01 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2023-08-01 08:27:01 +0200
commit6a8ae2de4261fecd0281685b9eea66bbd82bd7fb (patch)
treea775f79c34e91afcd77cedc10f55a3aa9096114c /Makefile
parent9c69c2c6bcfa0d56178e9d801c1e5cf24c9cde0b (diff)
A4: WIP
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 15 insertions, 6 deletions
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: