https://github.com/charguer/ocaml
Raw File
Tip revision: 3447e059f033e7d59b4262fe869115aae20bcb85 authored by Jacques Garrigue on 18 April 2002, 07:00:34 UTC
merging poly_meth2
Tip revision: 3447e05
ocamlmktop.tpl
#!/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$


# Multi-shell script.  Works under Bourne Shell, MPW Shell, zsh.

if : == x
then # Bourne Shell or zsh
     exec %%BINDIR%%/ocamlc -linkall toplevellib.cma "$@" topmain.cmo
else # MPW Shell
     ocamlc -linkall toplevellib.cma {"parameters"} topmain.cmo
     exit {status}
End # uppercase E because "end" is a keyword in zsh
fi
back to top