lib/Tools/make
author wenzelm
Tue, 04 Oct 2011 14:51:51 +0200
changeset 45105 21c09b727bf3
parent 29143 72c960b2b83e
permissions -rwxr-xr-x
more explicit check of Java executable -- relevant for Linux x86/x86_64 mismatch and absence on Mac OS Lion;

#!/usr/bin/env bash
#
# Author: Markus Wenzel, TU Muenchen
#
# DESCRIPTION: Isabelle make utility


PRG="$(basename "$0")"

function usage()
{
  echo
  echo "Usage: isabelle $PRG [ARGS ...]"
  echo
  echo "  Compile the logic in current directory using IsaMakefile."
  echo "  ARGS are directly passed to the system make program."
  echo
  exit 1
}


## main

[ "$1" = "-?" ] && usage

exec make -f IsaMakefile "$@"