This is a mandelbrot generator written in c using libpng with zlib to create png images.
This program has libpng and zlib as dependencies. Here is a table of dependency names on different systems: Remember that pkg-config, make and a c99 compatible compiler (gcc, tcc...) are required to compile.
Distro | libpng | zlib |
---|---|---|
Ubuntu 20.04 | libpng-dev | zlib1g-dev |
Void Linux | libpng-devel | zlib-devel |
Fedora | libpng-devel | zlib-devel |
After installing all dependencies, you just run make
.
Remember to have the right permissions, by using sudo
or running as root.
Install: make install
Uninstall: make uninstall
By default it installs the binary to /usr/local/bin
, you can change this under Configuration.
To get the usage run the program without any parameters.
To get the version and license run the program with -v
.
Name | Default value | Description |
---|---|---|
VERBOSE | 1 | This changes the verboseness of the program. |
VERSION | This changes the version printed when running the program. Any string is acceptable. | |
PKG_CONFIG | pkg-config | This changes the binary that is used for pkg-config. |
PREFIX | /usr/local | This changes where the binary is installed to. ( /usr/local/bin ) |
USE_PTHREAD | depends on arch | This forces the compiler to use or not use pthreads. |
Name | Default value | Description |
---|---|---|
CC | Depends on make | You can set this to force a specific compiler. |
CPPFLAGS | Empty | C preprocessor flags |
CFLAGS | Depends on make | C compiler flags |
LDFLAGS | Empty | Linker flags |