Browse Source

Back to shell script, GNUmake is bad...

master
parent
commit
138f9066f2
2 changed files with 19 additions and 0 deletions
  1. +12
    -0
      compile.sh
  2. +7
    -0
      install.sh

+ 12
- 0
compile.sh View File

@@ -0,0 +1,12 @@
#!/bin/bash

set -xe

cd source
gnatmake -g -O3 -fstack-check -c main.adb
gnatbind main.ali
gnatlink -o xhads main.ali -lraylib
mv xhads ../xhads
cd ..

exit

+ 7
- 0
install.sh View File

@@ -0,0 +1,7 @@
#!/bin/bash

set -xe

cp xhads /usr/bin/xhads

exit

Loading…
Cancel
Save