lib/Tools/make
author wenzelm
Thu, 26 May 2011 15:56:39 +0200
changeset 42912 a5bbc11474f9
parent 29143 72c960b2b83e
permissions -rwxr-xr-x
clarified current 'primrec' vs. old 'recdef'; updated examples from src/HOL/Induct;

#!/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 "$@"