aboutsummaryrefslogtreecommitdiffstats
path: root/buch/chapters/060-integral/gq/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--buch/chapters/060-integral/gq/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/buch/chapters/060-integral/gq/Makefile b/buch/chapters/060-integral/gq/Makefile
new file mode 100644
index 0000000..2ce859c
--- /dev/null
+++ b/buch/chapters/060-integral/gq/Makefile
@@ -0,0 +1,22 @@
+#
+# Makefile -- Gauss quadrature experiments
+#
+# (c) 2021 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule
+#
+all: kreis gq.pdf
+
+gq.o: gq.cpp
+ g++ `pkg-config --cflags gsl` -o gq.o -g -Wall -O2 -c gq.cpp
+
+gq: gq.o
+ g++ -g -Wall -O2 gq.o `pkg-config --libs gsl` -o gq
+
+kreis: kreis.cpp
+ g++ `pkg-config --cflags gsl` -g -Wall -O2 kreis.cpp \
+ `pkg-config --libs gsl` -o kreis
+
+gqpaths.tex: gq
+ ./gq > gqpaths.tex
+
+gq.pdf: gq.tex gqpaths.tex
+ pdflatex gq.tex