10555
|
1 |
#!/usr/bin/env bash
|
2437
|
2 |
#
|
9788
|
3 |
# Author: Markus Wenzel, TU Muenchen
|
2437
|
4 |
#
|
|
5 |
# DESCRIPTION: Isabelle make utility
|
|
6 |
|
|
7 |
|
10511
|
8 |
PRG="$(basename "$0")"
|
2437
|
9 |
|
|
10 |
function usage()
|
|
11 |
{
|
|
12 |
echo
|
28650
|
13 |
echo "Usage: isabelle $PRG [ARGS ...]"
|
2437
|
14 |
echo
|
7795
|
15 |
echo " Compile the logic in current directory using IsaMakefile."
|
2437
|
16 |
echo " ARGS are directly passed to the system make program."
|
|
17 |
echo
|
|
18 |
exit 1
|
|
19 |
}
|
|
20 |
|
|
21 |
|
|
22 |
## main
|
|
23 |
|
|
24 |
[ "$1" = "-?" ] && usage
|
|
25 |
|
|
26 |
exec make -f IsaMakefile "$@"
|