# OSX script...
# call with a) sol, b) solx

rm obj/*


#!/bin/sh

export GROOT=$HOME/opt/GNAT/2018/bin
export PATH=$GROOT:$PATH

export FWROOT=/System/Library/Frameworks
export SDKROOT=$(xcrun --show-sdk-path)



$GROOT/gnatmake $1 \
-I../src \
-O3 -gnat12 -I. -D obj

mv $1 ../o$1

