ocaml/build/boot-c-parts-windows.sh

24 lines
489 B
Bash
Executable File

#!/bin/sh
# $Id$
cd `dirname $0`/..
set -ex
. config/config.sh
(cd byterun && make -f Makefile.nt)
(cd asmrun && make -f Makefile.nt all meta.$O dynlink.$O)
(cd yacc && make -f Makefile.nt)
(cd win32caml && make)
mkdir -p _build/boot
cp -f byterun/ocamlrun.exe \
byterun/libcamlrun.$A \
asmrun/libasmrun.$A \
yacc/ocamlyacc.exe \
boot/ocamlc \
boot/ocamllex \
boot/ocamldep \
_build/boot
mkdir -p _build/byterun
cp -f byterun/ocamlrun.exe boot