

# this is the typical path of gnat gpl...
# Either one of the following should work:

# for AdaCore-2017
#export PATH=/usr/gnat/bin:$PATH

# AdaCore 2018:
export PATH=$HOME/opt/GNAT/2018/bin:$PATH


# prepare libsnd4ada.so file prior to gnatmake...
# using g++ from GNAT:

g++ adabindings/sfmlAudio/snd4ada.cpp -c -Werror -fPIC -IincSFML250

g++ -shared -o ./libs/gnu/libsnd4ada.so snd4ada.o \
-L$PWD/libs/gnu -lsfml-audio -lsfml-system



