xhads/compile.sh

13 lines
181 B
Bash

#!/bin/bash
set -xe
cd source
gnatmake -gnatp -O3 -f -fstack-check -fno-exceptions -c main.adb
gnatbind main.ali
gnatlink -o xhads main.ali -lraylib
mv xhads ../xhads
cd ..
exit