OCaml makefile dependency problem -
i using ocaml makefile project working on , have folowing modules
dynamictree.ml
huffman_dynamic.ml
uses dynamictree
huffman_static.ml
main.ml
uses both huffman_static
, huffman_dynamic
.
this make file :
# put here names of source files (in right order) sources = huffman_static.ml dynamictree.ml huffman_dynamic.ml main.ml # name of resulting executable result = huffman # generate type information (.annot files) annotate = yes # make target (see manual) : byte-code, debug-code, native-code all: native-code include ocamlmakefile
when try make project, unbound value dynamictree.create_anchor_leaf
results ocamlopt -c -dtypes huffman_dynamic.ml
generated makefile.
the ocaml makefile wepage states generates automatically dependencies, missing here?
thank you.
is capitalization of name correct ? in post use both dynamictree.ml
, dynamictree.ml
.
are sure issue comes makefile ? there create_anchor_leaf
function exported dynamictree.ml
? no .mli
hiding ?
Comments
Post a Comment