Back to shell script, GNUmake is bad...
This commit is contained in:
parent
5f07cd341f
commit
138f9066f2
12
compile.sh
Normal file
12
compile.sh
Normal 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
install.sh
Normal file
7
install.sh
Normal file
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -xe
|
||||
|
||||
cp xhads /usr/bin/xhads
|
||||
|
||||
exit
|
Loading…
Reference in New Issue
Block a user