Ver código fonte

Back to shell script, GNUmake is bad...

master
Ognjen Milan Robovic 2 meses atrás
pai
commit
138f9066f2
2 arquivos alterados com 19 adições e 0 exclusões
  1. +12
    -0
      compile.sh
  2. +7
    -0
      install.sh

+ 12
- 0
compile.sh Ver arquivo

@@ -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 Ver arquivo

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

set -xe

cp xhads /usr/bin/xhads

exit

Carregando…
Cancelar
Salvar