#!/bin/sh
#########################################################################
#                                                                       #
#                            Objective Caml                             #
#                                                                       #
#            Damien Doligez, projet Para, INRIA Rocquencourt            #
#                                                                       #
#   Copyright 1999 Institut National de Recherche en Informatique et    #
#   en Automatique.  All rights reserved.  This file is distributed     #
#   under the terms of the Q Public License version 1.0.                #
#                                                                       #
#########################################################################

# $Id: ocamlmktop.tpl,v 1.2 1999/11/29 19:04:40 doligez Exp $


# Dual shell script.  Works under both Bourne Shell and MPW Shell.

if : == x
then # Bourne Shell
     exec /usr/local/bin/ocamlc -linkall toplevellib.cma "$@" topmain.cmo
else # MPW Shell
     ocamlc -linkall toplevellib.cma {"parameters"} topmain.cmo
     exit {status}
end
fi
