Files
mercury/scripts/mc.in
Fergus Henderson 80de282fd2 Remove the "--", since it is no longer needed.
mc.in, mprof.in:
	Remove the "--", since it is no longer needed.

mcn.in, mcs.in:
	These scripts are no longer necessary - use `mc' instead.
1995-09-08 03:33:53 +00:00

24 lines
880 B
Bash

#! /bin/sh
# @configure_input@
#---------------------------------------------------------------------------#
# Copyright (C) 1995 University of Melbourne.
# This file may only be copied under the terms of the GNU General
# Public License - see the file COPYING in the Mercury distribution.
#---------------------------------------------------------------------------#
#
# MC - Mercury Compiler.
#
# Use `mc -h' for help.
#
# Environment variables: MERCURY_INT_DIR, MERCURY_C_INCL_DIR,
# MERCURY_COMPILER, MERCURY_DEFAULT_GRADE, MERCURY_C_COMPILER.
INTDIR=${MERCURY_INT_DIR=@LIBDIR@/ints}
C_INCL=${MERCURY_C_INCL_DIR=@LIBDIR@/inc}
MC=${MERCURY_COMPILER="@LIBDIR@/bin/@FULLARCH@/mercury_compile"}
DEFAULT_GRADE=${MERCURY_DEFAULT_GRADE=@DEFAULT_GRADE@}
CC=${MERCURY_C_COMPILER=@CC@}
exec $MC -I "$INTDIR" --c-include-directory "$C_INCL" \
--cc "$CC" --grade "$DEFAULT_GRADE" "$@"