Isabelle make utility;
authorwenzelm
Wed Dec 18 12:47:28 1996 +0100 (1996-12-18)
changeset 243763249c1c544a
parent 2436 5be639c601b2
child 2438 b630fded4566
Isabelle make utility;
lib/Tools/make
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/lib/Tools/make	Wed Dec 18 12:47:28 1996 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +#!/bin/bash -norc
     1.5 +#
     1.6 +# $Id$
     1.7 +#
     1.8 +# DESCRIPTION: Isabelle make utility
     1.9 +
    1.10 +
    1.11 +PRG=$(basename $0)
    1.12 +
    1.13 +function usage()
    1.14 +{
    1.15 +  echo
    1.16 +  echo "Usage: $PRG [ARGS ...]"
    1.17 +  echo
    1.18 +  echo "  Compiles logic in current directory using IsaMakefile."
    1.19 +  echo "  ARGS are directly passed to the system make program."
    1.20 +  echo
    1.21 +  exit 1
    1.22 +}
    1.23 +
    1.24 +
    1.25 +## main
    1.26 +
    1.27 +[ "$1" = "-?" ] && usage
    1.28 +
    1.29 +
    1.30 +. $ISABELLE_HOME/lib/scripts/getplatform
    1.31 +
    1.32 +export ISABELLE_OUTPUT_DIR="$ISABELLE_OUTPUT/$ML_SYSTEM-$PLATFORM"
    1.33 +
    1.34 +exec make -f IsaMakefile "$@"