raylib-ada/compile.sh

24 lines
344 B
Bash

#!/bin/bash
set -xe
cd example
gnatmake -c window.adb
gnatbind window.ali
gnatlink window.ali -lraylib
gnatmake -c preview.adb
gnatbind preview.ali
gnatlink preview.ali -lraylib
gnatmake -c generation.adb
gnatbind generation.ali
gnatlink generation.ali -lraylib
mv window ../window
mv preview ../preview
mv generation ../generation
exit