summaryrefslogtreecommitdiff
path: root/tools/ocamlmktop.tpl
blob: 7cf6990b6fb5af5154952a2162f2d441edd78994 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

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

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