2007-02-07 01:40:59 -08:00
|
|
|
#!/bin/sh
|
2011-07-27 07:17:02 -07:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
# #
|
|
|
|
# OCaml #
|
|
|
|
# #
|
|
|
|
# Nicolas Pouillard, projet Gallium, INRIA Rocquencourt #
|
|
|
|
# #
|
|
|
|
# Copyright 2007 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. #
|
|
|
|
# #
|
|
|
|
#########################################################################
|
|
|
|
|
2007-02-07 01:40:59 -08:00
|
|
|
set -e
|
|
|
|
cd `dirname $0`/..
|
2007-02-11 23:59:44 -08:00
|
|
|
. build/targets.sh
|
2007-02-07 01:40:59 -08:00
|
|
|
set -x
|
|
|
|
$OCAMLBUILD $@ \
|
|
|
|
$STDLIB_NATIVE $OCAMLC_NATIVE $OCAMLOPT_NATIVE \
|
|
|
|
$OCAMLLEX_NATIVE $TOOLS_NATIVE $OTHERLIBS_NATIVE \
|
|
|
|
$OCAMLBUILD_NATIVE $OCAMLDOC_NATIVE $CAMLP4_NATIVE
|