[Omake] Passing full target paths to compilers
Benjamin Pierce
bcpierce at cis.upenn.edu
Sat Jun 10 06:43:04 PDT 2006
Since my project involves OCaml files in several directories, I want
to invoke the OCaml compiler with the full absolute pathname of each
source .ml file, so that error messages will be printed in a way that
emacs can interpret, no matter where I do the compilation from. Is
there an easy way to achieve this?
(I tried the obvious one -- changing
OCamlProgram($(RESULT), $(rootname $(SOURCES)))
to
OCamlProgram($(RESULT), $(absname $(rootname $(SOURCES))))
but this seems to have no effect.)
Thanks,
- Benjamin
More information about the Omake
mailing list