aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/kugel/images/Makefile
blob: 4226daba9ac4c459f0839d281fdef4a0ea4d3879 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#
# Makefile -- build images
#
# (c) 2022 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule
#
all: curvature.jpg spherecurve.jpg

curvature.inc:	curvgraph.m
	octave curvgraph.m

curvature.png:	curvature.pov curvature.inc
	povray +A0.1 +W1920 +H1080 +Ocurvature.png curvature.pov

curvature.jpg:	curvature.png
	convert curvature.png -density 300 -units PixelsPerInch curvature.jpg

spherecurve2.inc:	spherecurve.m
	octave spherecurve.m

spherecurve.png:	spherecurve.pov spherecurve.inc
	povray +A0.1 +W1080 +H1080 +Ospherecurve.png spherecurve.pov

spherecurve.jpg:	spherecurve.png
	convert spherecurve.png -density 300 -units PixelsPerInch spherecurve.jpg

spherecurve:	spherecurve.cpp
	g++ -o spherecurve -g -Wall -O spherecurve.cpp

spherecurve.inc:	spherecurve
	./spherecurve