lib/Tools/make
author wenzelm
Fri, 07 Mar 1997 11:48:46 +0100
changeset 2754 59bd96046ad6
parent 2593 012be3cc5203
child 3007 e5efa177ee0c
permissions -rwxr-xr-x
moved settings comment to build;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2437
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
     1
#!/bin/bash -norc
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 "$@"