#!/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
