summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2023-08-01 16:24:07 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2023-08-01 16:24:07 +0200
commitd4858a439f2423ae5a9735f7a9a6bf709392e625 (patch)
tree3b64d1189ab271483244ffd28270eef0ea214cff /Makefile
parent3b535f0ecba834ba2b189e68b13316ec0d5f8fa6 (diff)
A4: WIP
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c343062..cb17956 100644
--- a/Makefile
+++ b/Makefile
@@ -22,13 +22,15 @@ A3:
xelatex -halt-on-error -jobname=${PRE}$@ a3/exercise.tex
rm -f ${PRE}$@.aux ${PRE}$@.log
-A4:
+%.pdf: %.m
+ octave $<
+
+A4: a4/insert.pdf a4/insert-padded.pdf a4/remove.pdf a4/remove-padded.pdf
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