dbfwork: 'to_number(x)' is treated as simply 'x'
[ocaml-dbf.git] / bld.sh
blob110f52065b265c4e15b53c1eb10217cfa1e3f0e9
1 #! /usr/bin/env bash
3 LIBS=$(echo mlxbase.cm{a,xa}) # to expand {}.
5 rm -f $LIBS && \
6 ocamlbuild -j 0 $LIBS dbfwork.{native,byte} && \
8 for L in $LIBS; do
9 B="_build/$L"
10 if [[ -f "$B" ]] && [[ ! -f "$L" ]];
11 then
12 ln -s "$B" "$L"
13 fi;
14 done;