author | wenzelm |
Sat, 20 Feb 2021 13:42:37 +0100 | |
changeset 73255 | 7e2a9a8c2b85 |
parent 73192 | e7437085e589 |
child 73705 | ac07f6be27ea |
permissions | -rwxr-xr-x |
54313
da2e6282a4f5
native executable even for Linux, to avoid surprises with file managers opening executable script as text file;
wenzelm
parents:
diff
changeset
|
1 |
#!/usr/bin/env bash |
da2e6282a4f5
native executable even for Linux, to avoid surprises with file managers opening executable script as text file;
wenzelm
parents:
diff
changeset
|
2 |
|
73192 | 3 |
set -e |
4 |
||
5 |
THIS="$(cd "$(dirname "$0")"; pwd)" |
|
6 |
cd "$THIS" |
|
7 |
||
8 |
source "../../lib/scripts/isabelle-platform" |
|
9 |
||
10 |
PLATFORM="${ISABELLE_APPLE_PLATFORM64:-$ISABELLE_PLATFORM64}" |
|
11 |
mkdir -p "$PLATFORM" |
|
12 |
||
13 |
EXE="$PLATFORM/Isabelle" |
|
14 |
gcc -Wall Isabelle.c -o "$EXE" |
|
15 |
echo "$EXE" |