1995-05-09 02:37:17 -07:00
|
|
|
#!/bin/sh
|
1999-11-29 11:04:40 -08:00
|
|
|
#########################################################################
|
|
|
|
# #
|
|
|
|
# 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. #
|
|
|
|
# #
|
|
|
|
#########################################################################
|
1995-05-09 02:37:17 -07:00
|
|
|
|
1999-11-29 11:04:40 -08:00
|
|
|
# $Id$
|
|
|
|
|
|
|
|
|
2000-09-26 11:18:59 -07:00
|
|
|
# Multi-shell script. Works under Bourne Shell, MPW Shell, zsh.
|
1996-11-02 10:05:24 -08:00
|
|
|
|
|
|
|
if : == x
|
2000-09-26 11:18:59 -07:00
|
|
|
then # Bourne Shell or zsh
|
1998-10-20 05:52:02 -07:00
|
|
|
exec %%BINDIR%%/ocamlc -linkall toplevellib.cma "$@" topmain.cmo
|
1996-11-02 10:05:24 -08:00
|
|
|
else # MPW Shell
|
1999-11-29 11:04:40 -08:00
|
|
|
ocamlc -linkall toplevellib.cma {"parameters"} topmain.cmo
|
1996-11-02 10:05:24 -08:00
|
|
|
exit {status}
|
2000-09-26 11:18:59 -07:00
|
|
|
End # uppercase E because "end" is a keyword in zsh
|
1996-11-02 10:05:24 -08:00
|
|
|
fi
|