Alex

Lib PPF -> Building From Source

Building The Library Manually

This is for compiling the library separably. Note that the example’s makefile already does this and it isn’t required to build the example with the included makefile.

gcc -Wall -Wextra -Werror -pedantic -c lib-ppf.c -o build/lib-ppf.o

ar rcs build/libppf.a build/lib-ppf.o (Static) (libppf.a)

gcc -shared -o build/libppf.so build/lib-ppf.o (Shared) (libppf.so)

Building The Example From Source

In the source directory, you may execute any of the following:

make deps-apt - installs the build dependencies required to compile the program.

make - creates an executable for x86_64 Linux.

make clean - deletes only the generated executable file created by only executing make.

make clean-build - deletes the generated build directory in it’s entirety.

make all - generate all of the following:

For Windows 95 OSR 2.5 and above, Pentium CPU minimum (32 bit)

For Windows x86_64 (64 bit)

For Linux 3.2.0 and above, 386 CPU minimum (32 bit)

For Linux 3.2.0 and above, x86_64 (64 bit)

All output is found in the build directory created in the source directory.