[Omake] Extending scanner rules

Jonathan Roewen jonathan.roewen at gmail.com
Wed Apr 4 00:25:54 PDT 2007


Hi,

Is it possible to extend a scanner rule?

I have a problem where I have modules that _should_ have a depenency
on my custom stdlib/pervasives, but ocamldep doesn't know how to do
that properly (at the very least pervasives), and so it tries to build
those modules too early.

Basically, I'd like to simply add something like
$(ROOT)/kernel/stdlib/pervasives.cmi as a dependency to every module
in selected subdirs automagically.

Is that easy enough to do?

Jonathan


More information about the Omake mailing list