[Omake] individual compilation
Anastasia Gornostaeva
ermine at ermine.pp.ru
Thu May 17 07:41:07 PDT 2007
On Wed, May 16, 2007 at 09:37:12AM -0700, Aleksey Nogin wrote:
Thanks for your simple answers. My next trouble is now:
How to properly write OMakefile that builds casual ocaml library and
camlp4 preprocessor macro library?
FILES[] =
file1
file2
LIB: mylib
.DEFAULT: $(OCamlLibrary $(LIB), $(FILES)) $(SomeWhatToBuildPP)
where "SomeWhatToBuldPP does:
ocamlfind ocamlc -a -o pa_mypp.cma \
-pp 'camlp4o pa_extend.cmo q_MLast.cmo' -package camlp4 \
pa_mypp.ml
(or the same without ocamlfind)
Thanks.
ermine
More information about the Omake
mailing list