[Omake] behavior in subdirs
Aleksey Nogin
nogin at cs.caltech.edu
Tue Aug 15 14:35:51 PDT 2006
Hi,
I was able to reproduce the problem (sorry for not trying it before).
Will look into it.
% cat OMakefile
NATIVE_ENABLED=false
BYTE_ENABLED=true
.DEFAULT: $(OCamlProgram foo, foo)
% cat foo.ml
open Bar
% cat bar.ml
% omake
*** omake: reading OMakefiles
*** omake: finished reading OMakefiles (0.0 sec)
- scan . scan-ocaml-foo.ml
+ <compute 1 value dependencies>
- scan . scan-ocaml-foo.ml
+ ocamldep -I . foo.ml
!!! You are trying to build OCaml native code file: bar.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: 12/18 targets are up to date
*** omake: failed (0.1 sec, 1/1 scans, 0/0 rules, 0/66 digests)
*** omake error:
File XXX/lib/omake/build/OCaml.om: line 454, characters 12-19
early exit(1) requested by an omake file
--
Aleksey Nogin
Home Page: http://nogin.org/
E-Mail: nogin at cs.caltech.edu (office), aleksey at nogin.org (personal)
Office: Moore 04, tel: (626) 395-2200
More information about the OMake-Devel
mailing list