The following steps outline how to add this as a shared library
- Compile and install include files
sudo make install
- Set environment variables for linker
export LIBRARY_PATH=/usr/lib/pillow:${LIBRARY_PATH}
- Set environment variables for loader
export LD_LIBRARY_PATH=/usr/lib/pillow:${LD_IBRARY_PATH}
You can then link to it your program during compilation. For example:
gcc -o cube cube.c -lPlw