author | haftmann |
Mon, 10 May 2021 19:45:54 +0000 | |
changeset 73663 | 7734c442802f |
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" |