enhance makefile, add to README
This commit is contained in:
parent
5b4252cfb1
commit
3868c241e1
2 changed files with 16 additions and 2 deletions
12
Makefile
12
Makefile
|
@ -1,6 +1,16 @@
|
||||||
all:
|
all: mandel_quad mandel_mpfr mandel mandel_dd mandel_dd_aa
|
||||||
|
|
||||||
|
mandel_quad: mandel_quad.c
|
||||||
gcc -O3 -Wall -lquadmath mandel_quad.c -o mandel_quad
|
gcc -O3 -Wall -lquadmath mandel_quad.c -o mandel_quad
|
||||||
|
|
||||||
|
mandel_mpfr: mandel_mpfr.c
|
||||||
gcc -O3 -Wall -lmpfr -lm mandel_mpfr.c -o mandel_mpfr
|
gcc -O3 -Wall -lmpfr -lm mandel_mpfr.c -o mandel_mpfr
|
||||||
|
|
||||||
|
mandel: mandel.c
|
||||||
gcc -O3 -Wall -lm mandel.c -o mandel
|
gcc -O3 -Wall -lm mandel.c -o mandel
|
||||||
|
|
||||||
|
mandel_dd: mandel_dd.c
|
||||||
gcc -O3 -Wall -lm mandel_dd.c -o mandel_dd
|
gcc -O3 -Wall -lm mandel_dd.c -o mandel_dd
|
||||||
|
|
||||||
|
mandel_dd_aa: mandel_dd_aa.c
|
||||||
gcc -O3 -Wall -lm mandel_dd_aa.c -o mandel_dd_aa
|
gcc -O3 -Wall -lm mandel_dd_aa.c -o mandel_dd_aa
|
||||||
|
|
|
@ -64,7 +64,11 @@ execute a list of commands to create a zooming sequence of images.
|
||||||
|
|
||||||
You can create a video of the resulting sequence using:
|
You can create a video of the resulting sequence using:
|
||||||
|
|
||||||
$ avconv -i %05d.png out.mp4
|
$ avconv -i out_%05d.png out.mp4
|
||||||
|
|
||||||
|
Or a gif animation by using:
|
||||||
|
|
||||||
|
$ convert -delay 20 -loop 0 out_*.png out.gif
|
||||||
|
|
||||||
Benchmark
|
Benchmark
|
||||||
=========
|
=========
|
||||||
|
|
Loading…
Reference in a new issue