# gnu compile script for Coterminal apps:
# Nonstandard libraries are now static.


# this is newest compiler from AdaCore:
export PATH=$HOME/opt/GNAT/2020/bin:$PATH


gnatmake $1 \
-O3 -gnat12 \
-D obj \
-I$PWD/src \
-I$PWD/adainclude \
-I$PWD/adainclude/fakeTime \
-I$PWD/adainclude/gnuAudio \
-I$PWD/adabindings/fake00 \
-largs \
-L$PWD/libs/gnu -lgnatcoll -lgpr


mv $1 ./bin/gnu/



# -- Copyright (C) 2020  <fastrgv@gmail.com>
# --
# -- This program is free software: you can redistribute it and/or modify
# -- it under the terms of the GNU General Public License as published by
# -- the Free Software Foundation, either version 3 of the License, or
# -- (at your option) any later version.
# --
# -- This program is distributed in the hope that it will be useful,
# -- but WITHOUT ANY WARRANTY; without even the implied warranty of
# -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# -- GNU General Public License for more details.
# --
# -- You may read the full text of the GNU General Public License
# -- at <http://www.gnu.org/licenses/>.

