Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] linking caml files to C
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jean-Baptiste Rouquier <jb.rouquier@w...>
Subject: Re: [Caml-list] linking caml files to C
Please read the manual. It gives good explanations and a complete example.
You should use the option "-custom".

Jean-Baptiste.



***************************
Hi,
Im trying to link caml files to the C files.

I'm using this flags with the caml files.
-----------------------------------------------------
%.$(O): %.ml
$(OCAMLC) -c -output-obj -o $<
%.cmi: %.mli
$(OCAMLCI) -c -output-obj -o $<
------------------------------------------------------



-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners