diff options
author | root <root@t60.home.remexre.com> | 2024-11-18 10:45:20 -0600 |
---|---|---|
committer | root <root@t60.home.remexre.com> | 2024-11-18 10:45:20 -0600 |
commit | 62e41dcb40d0450d493a804e7f0ac3e32f35aabf (patch) | |
tree | 0744f1af53ac605868d8b85cd5446264820a4ca1 /mk.sh | |
parent | 943a6597b2bcd1b3ed208458a5cba61ad5b4051c (diff) |
Adds Linux support.
Diffstat (limited to 'mk.sh')
-rwxr-xr-x | mk.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -4,6 +4,9 @@ set -euo pipefail repo=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd -P) srcdir="$repo/src" +platform="$1" +shift + if [[ "$(pwd -P)" = "$repo" ]]; then test ! -d build || rm -r build mkdir build @@ -12,6 +15,7 @@ fi cat >config.mak <<EOF CONFIGURED = 1 +platform = $platform srcdir = $srcdir EOF ln -s "$srcdir/Makefile" |