repo.or.cz
/
ocaml-dbf.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
dbfwork: 'to_number(x)' is treated as simply 'x'
[ocaml-dbf.git]
/
bld.sh
blob
110f52065b265c4e15b53c1eb10217cfa1e3f0e9
1
#! /usr/bin/env bash
2
3
LIBS
=
$
(
echo
mlxbase.cm
{
a
,
xa
})
# to expand {}.
4
5
rm
-f
$LIBS
&&
\
6
ocamlbuild
-j
0
$LIBS
dbfwork.
{
native
,
byte
} &&
\
7
{
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
;
15
}