aboutsummaryrefslogtreecommitdiffstats
path: root/cover/Makefile
diff options
context:
space:
mode:
authorAndreas Müller <andreas.mueller@ost.ch>2021-09-13 13:08:03 +0200
committerAndreas Müller <andreas.mueller@ost.ch>2021-09-13 13:08:03 +0200
commit3d288f1e437611757ee07c84cc03cd70f216f4c2 (patch)
treed6f111d5bd5dc49bf5c1f12342047e36dfe81382 /cover/Makefile
parentdiv (diff)
downloadSeminarMatrizen-3d288f1e437611757ee07c84cc03cd70f216f4c2.tar.gz
SeminarMatrizen-3d288f1e437611757ee07c84cc03cd70f216f4c2.zip
various cover variants
Diffstat (limited to '')
-rw-r--r--cover/Makefile36
1 files changed, 27 insertions, 9 deletions
diff --git a/cover/Makefile b/cover/Makefile
index dcbe6c6..d0f0780 100644
--- a/cover/Makefile
+++ b/cover/Makefile
@@ -3,23 +3,41 @@
#
# (c) 2018 Prof Dr Andreas Müller, Hochschule Rapperswil
#
-all: matrix.pdf buchcover.png front.pdf back.pdf
+all: matrix.pdf front back
matrix.pdf: matrix.tex
pdflatex matrix.tex
+#matrix2.pdf: matrix2.tex
+# pdflatex matrix2.tex
-buchcover.pdf: buchcover.tex matrix.pdf
+buchcover: buchcover.pdf buchcover-black.pdf
+buchcover.pdf: buchcover.tex matrix-blue.png
pdflatex buchcover.tex
+buchcover-black.pdf: buchcover-black.tex matrix-black.png
+ pdflatex buchcover-black.tex
-buchcover.png: buchcover.pdf
- convert -density 300 -extract 1966x2900+2630+190 buchcover.pdf \
- buchcover.png
-
-nozzle.jpg: nozzle.png
- convert nozzle.png -density 300 -units PixelsPerInch -flop nozzle.jpg
-
+front: front.pdf front-black.pdf
front.pdf: front.tex buchcover.pdf
pdflatex front.tex
+front.png: front.pdf
+ convert front.pdf -density 300 -units PixelsPerInch front.png
+front-black.pdf: front-black.tex buchcover-black.pdf
+ pdflatex front-black.tex
+front-black.png: front-black.pdf
+ convert front-black.pdf -density 300 -units PixelsPerInch front-black.png
+back: back.pdf back-black.pdf
back.pdf: back.tex buchcover.pdf
pdflatex back.tex
+back-black.pdf: back-black.tex buchcover-black.pdf
+ pdflatex back-black.tex
+
+matrix: matrix.cpp
+ g++ -Wall -O2 -g -o matrix `pkg-config --cflags Magick++` matrix.cpp `pkg-config --libs Magick++`
+test: matrix
+ ./matrix -w 500 -h 1080 blubb.png && open blubb.png
+matrix-blue.png: matrix
+ ./matrix -f white -b blue -w 3840 -h 2160 -s 2 matrix-blue.png
+matrix-black.png: matrix
+ ./matrix -b black -w 3840 -h 2160 -s 2 matrix-black.png
+