[Omake] behavior in subdirs

Nathaniel Gray n8gray at caltech.edu
Tue Aug 15 13:05:53 PDT 2006


Aleksey Nogin wrote:
> On 15.08.2006 11:24, Nathaniel Gray wrote:
>>
>> I've tried using -debug-deps but I haven't seen it do anything.  I've 
>> tried with and without the various --xxx-dependencies flags and never 
>> noticed any difference with -debug-deps.  How is it supposed to be used?
>>
> The -debug-deps option makes sure that the scanned dependencies will be 
> printed each time a scanner command finishes. If a specific execution 
> does not run any scanner commands, the option will have no effect. So, 
> to get maximum information out of it, you need to combine it with --depend.
> 

Ok, here goes:

[n8gray at golux lib]$ omake --depend -debug-deps all 
         *** omake: changing directory to /Users/n8gray/research/syncfun
*** omake: reading OMakefiles
*** omake: finished reading OMakefiles (0.1 sec)
- scan lib scan-ocaml-groupServer.ml
+ <compute 1 value dependencies>
- scan lib scan-ocaml-groupServer.ml
+ ocamldep -I . groupServer.ml
Scanner: /tmp/omake881f9a.deps
    targets = groupServer.cmo sources = group.cmo
    targets = groupServer.cmx sources = group.cmx
!!! You are trying to build OCaml native code file: group.cmx
!!! However, the NATIVE_ENABLED flag is not set.
!!! Include the following definition in your OMakefile
!!! if you really want to build this file.
NATIVE_ENABLED = true
*** omake: 18/35 targets are up to date
*** omake: failed (0.5 sec, 1/1 scans, 0/0 rules, 0/75 digests)
*** omake error:
    File /usr/local/lib/omake/build/OCaml.om: line 454, characters 12-19
    early exit(1) requested by an omake file

Does that help?

-n8

-- 
 >>>-- Nathaniel Gray -- Caltech Computer Science ------>
 >>>-- Mojave Project -- http://mojave.cs.caltech.edu -->


More information about the OMake-Devel mailing list