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$
|
|
|
|
|
|
|
|
|
|
|
|
# Dual shell script. Works under both Bourne Shell and MPW Shell.
|
1996-11-02 10:05:24 -08:00
|
|
|
|
|
|
|
if : == x
|
|
|
|
then # Bourne Shell
|
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}
|
|
|
|
end
|
|
|
|
fi
|