lib/Tools/make
author wenzelm
Mon, 20 Nov 2006 23:47:10 +0100
changeset 21426 87ac12bed1ab
parent 14981 e73f8140af78
child 28650 a7ba12e0d3b7
permissions -rwxr-xr-x
converted legacy ML scripts;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10555
2323ec838401 /usr/bin/env bash;
wenzelm
parents: 10511
diff changeset
     1
#!/usr/bin/env bash
2437
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
     2
#
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
     3
# $Id$
9788
wenzelm
parents: 7795
diff changeset
     4
# Author: Markus Wenzel, TU Muenchen
2437
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
     5
#
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
     6
# DESCRIPTION: Isabelle make utility
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
     7
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
     8
10511
wenzelm
parents: 9788
diff changeset
     9
PRG="$(basename "$0")"
2437
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    10
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    11
function usage()
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    12
{
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    13
  echo
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    14
  echo "Usage: $PRG [ARGS ...]"
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    15
  echo
7795
111d2a65e1c6 tuned usage;
wenzelm
parents: 3007
diff changeset
    16
  echo "  Compile the logic in current directory using IsaMakefile."
2437
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    17
  echo "  ARGS are directly passed to the system make program."
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    18
  echo
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    19
  exit 1
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    20
}
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    21
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    22
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    23
## main
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    24
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    25
[ "$1" = "-?" ] && usage
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    26
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    27
exec make -f IsaMakefile "$@"