Files
mercury/scripts/mprof.in
Fergus Henderson f1d37af1a6 Add script to invoke mercury_profile.
scripts/mprof.m, scripts/Mmake:
	Add script to invoke mercury_profile.
1995-07-20 13:59:12 +00:00

18 lines
561 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.
#---------------------------------------------------------------------------#
#
# MPROF - Mercury Profiler
#
# Use `mprof -h' for help.
#
# Environment variables: MERCURY_PROFILER.
MPROF=${MERCURY_PROFILER="@LIBDIR@/bin/@FULLARCH@/mercury_profile"}
exec $MPROF -- "$@"