
# for quick recompilations

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


gnatmake adagate -o adagate3 \
-O3 -gnat12 \
--subdirs=./obj \
-I./adautils \
-I./adabindings/gl \
-I./adabindings/sdl208ada \
-I./adabindings/AdaPngLib \
-I./adabindings/sfmlAudio \
-largs \
-lGL  -lpthread -lstdc++ \
-Xlinker -rpath='$ORIGIN/libs/gnu' \
-L$PWD/libs/gnu \
-lz -lm -lsnd4ada \
-lSDL2 -lsfml-audio -lsfml-system \
-lopenal -lcrypto -logg -lvorbis -lvorbisenc -lvorbisfile -lFLAC


mv ./obj/adagate3 ./adagate_gnud


