
# Uses SFML v2.5.0

# This uses Xcode g++ compiler:
# prepare libsnd4ada.dylib file prior to gnatmake
g++ adabindings/sfmlAudio/snd4ada.cpp \
-c -Werror -fPIC \
-I$PWD/incSFML250 \
-I$PWD/adabindings/sfmlAudio

g++ -shared \
-o $PWD/adagate.app/Contents/Frameworks/libsnd4ada.dylib snd4ada.o \
-lc++ -lm -lz \
$PWD/adagate.app/Contents/Frameworks/libsfml-audio.dylib \
$PWD/adagate.app/Contents/Frameworks/libsfml-system.dylib


