瀏覽代碼

Back to shell script, GNUmake is bad...

master
父節點
當前提交
138f9066f2
共有 2 個檔案被更改,包括 19 行新增0 行删除
  1. +12
    -0
      compile.sh
  2. +7
    -0
      install.sh

+ 12
- 0
compile.sh 查看文件

@@ -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 查看文件

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

set -xe

cp xhads /usr/bin/xhads

exit

Loading…
取消
儲存