6 h
=$
(readlink
-f $
(dirname $0))
11 export OCAMLRUNPARAM
=b
13 if test $h = $PWD; then
18 if ! md5sum --status -c $d; then
19 md5sum $h/build.ml
$h/tbs
$t/tbs.cma
>$d.tmp
20 ocamlc.opt
-o build.cmo
-c -g -I $t $h/build.ml
21 ocamlc.opt
-g -thread -I $t unix.cma threads.cma tbs.cma build.cmo
-o b
26 test $
(hostname
) = "linmac" && {
27 gcc
="$HOME/x/dev/gcc-4.2.1/bin/gcc";
30 targets
="apc idlestat hog"
31 .
/b
-O src
:$h -O gcc
:$gcc $
* $targets