lib/Tools/make
author wenzelm
Fri, 13 Mar 1998 18:15:14 +0100
changeset 4744 4469d498cd48
parent 3007 e5efa177ee0c
child 7795 111d2a65e1c6
permissions -rwxr-xr-x
moved addsplits [expand_if] from HOL_basic_ss to HOL_ss;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3007
e5efa177ee0c removed -norc;
wenzelm
parents: 2593
diff changeset
     1
#!/bin/bash
2437
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
     2
#
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
     3
# $Id$
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
     4
#
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
     5
# DESCRIPTION: Isabelle make utility
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
     6
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
     7
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
     8
PRG=$(basename $0)
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
     9
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    10
function usage()
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    11
{
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    12
  echo
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    13
  echo "Usage: $PRG [ARGS ...]"
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    14
  echo
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    15
  echo "  Compiles logic in current directory using IsaMakefile."
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    16
  echo "  ARGS are directly passed to the system make program."
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    17
  echo
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    18
  exit 1
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    19
}
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
## main
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    23
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    24
[ "$1" = "-?" ] && usage
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    25
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    26
exec make -f IsaMakefile "$@"