[Omake] Compiling files in different directories
Hugo Ferreira
hmf at inescporto.pt
Wed May 30 02:48:55 PDT 2007
hello,
I have the following directory structure for my project:
src/camlp4
src/resolv
In resolve I have files "resolv.ml" and "test.ml" which
has a "open Logic" statement. I have the "logic.ml" file in
"src/camlp4". The following lines of the omake file:
FILES = ../camlp4/logic resolv
PROGRAM = test
OCamlProgram($(PROGRAM), $(FILES))
.DEFAULT: $(PROGRAM).run $(PROGRAM).opt
causes the following error:
File /usr/lib/omake/build/OCaml.om: line 1027, characters 8-53
Do not know how to build
"/home/hugof/workspace/ilp2/src/camlp4/logic.cmo" required for "test.run"
I have tried including the directory and changing the order of the
files but still get an error. I should think this is trivial but
cannot get it right. How should I do this? I am using OMake 0.9.8.1.
TIA,
Hugo F.
More information about the Omake
mailing list