From: Christian Rinderknecht <rinderkn@caesar.elte.hu>
To: caml-list@inria.fr
Subject: Re: [Caml-list] [ANN] Announcing yet another Makefile for OCaml
Date: Thu, 23 Jan 2014 15:47:49 +0100 [thread overview]
Message-ID: <52E12B95.6040405@caesar.elte.hu> (raw)
In-Reply-To: <20140123093518.GC20624@frosties>
[-- Attachment #1: Type: text/plain, Size: 840 bytes --]
On 01/23/2014 10:35 AM, Goswin von Brederlow wrote:
>> [...]
>> OCamlMakefile vs my Makefile
>> * Support for ocamlfind vs none
>
> No ocamlfind? That realy sucks. Anything non trivial will require
> some extras, if only batteries, core or unix. You realy need support
> for ocamlfind so adding libraries becomes easy.
If you want to use ocamlfind as a driver to ocamldep, the compilers
ocamlc and ocamlopt and the linkers, you can simply prefix the calls
to these in the Makefile like so:
instead of ${OCAMLC} ....
write ocamlfind ${OCAMLC} ...
Then use the tag files for .mli, .ml and for the two linkers
(byte-code and native-code), to pass options specific to ocamlfind as
if they were for ocamlc, ocamlopt etc.
Adding libraries and performing queries should be done outside the
Makefile.
Hope this helps,
Christian
[-- Attachment #2: Type: text/html, Size: 1351 bytes --]
next prev parent reply other threads:[~2014-01-23 14:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-22 1:03 Christian Rinderknecht
2014-01-22 7:43 ` William R
2014-01-22 19:22 ` Christian Rinderknecht
2014-01-22 23:30 ` John Whitington
2014-01-23 0:08 ` Christian Rinderknecht
2014-01-23 9:35 ` Goswin von Brederlow
2014-01-23 10:36 ` Malcolm Matalka
2014-01-23 14:47 ` Christian Rinderknecht [this message]
2014-01-24 16:18 ` Christian Rinderknecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52E12B95.6040405@caesar.elte.hu \
--to=rinderkn@caesar.elte.hu \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox