I am using the OCaml Makefile for the project I am working on and I have the following modules
DynamicTree.ml
Huffman_Dynamic.mlwhich uses DynamicTree
Huffman_Static.ml
main.mlwhich uses both Huffman_Static, and Huffman_Dynamic.
This is my make file:
SOURCES = huffman_static.ml dynamictree.ml huffman_dynamic.ml main.ml
RESULT = huffman
ANNOTATE = yes
all: native-code
include OCamlMakefile
When I try to create a project, I get Unbound value DynamicTree.create_anchor_leafwhich is obtained from the ocamlopt -c -dtypes huffman_dynamic.mlgenerated Makefile.
Ocaml Makefile wepage states that it automatically generates dependencies, I don’t see something here?
Thank.
source
share