#!/bin/bash # This script will make a dynamic library of the object files in ./src pwd=$(pwd) make g++ -fPIC -shared -o libsequentie.so src/*.o export LD_LIBRARY_PATH="$pwd":\$LD LIBRARY PATH echo "Library \"libsequentie.so\" created succesfully"