Parcourir la source

Back to shell script, GNUmake is bad...

master
Ognjen Milan Robovic il y a 2 mois
Parent
révision
138f9066f2
2 fichiers modifiés avec 19 ajouts et 0 suppressions
  1. +12
    -0
      compile.sh
  2. +7
    -0
      install.sh

+ 12
- 0
compile.sh Voir le fichier

@@ -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 Voir le fichier

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

set -xe

cp xhads /usr/bin/xhads

exit

Chargement…
Annuler
Enregistrer