caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: John Whitington <john@coherentgraphics.co.uk>
To: Kenneth Adam Miller <kennethadammiller@gmail.com>
Cc: caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] Recursive dependency issues
Date: Wed, 19 Nov 2014 21:08:20 +0000	[thread overview]
Message-ID: <546D06C4.4060200@coherentgraphics.co.uk> (raw)
In-Reply-To: <CAK7rcp9PKaMyx0tUqDBhLw2Td3nxLqsu2sOHo7-=qRfJhc+eGA@mail.gmail.com>

Hi,

Kenneth Adam Miller wrote:
> Ok. Does anybody know how to use OCamlMakefile to have it do this? The
> commands already call ocamlfind before ocamlc;
>
> ocamlfind ocamlc ...

To use OCaml packages with OCamlMakefile, you want...

PACKS = mylib anotherlib yetanotherlib

Here's an example OCamlMakefile-based makefile:

https://github.com/johnwhitington/cpdf-source/blob/master/Makefile

See the OCamlMakefile documentation for the rest of the options.

Thanks,

-- 
John Whitington
Director, Coherent Graphics Ltd
http://www.coherentpdf.com/


  reply	other threads:[~2014-11-19 21:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-19 16:50 Kenneth Adam Miller
2014-11-19 17:00 ` David Allsopp
2014-11-19 17:15   ` Kenneth Adam Miller
2014-11-19 21:08     ` John Whitington [this message]
2014-11-19 21:20       ` Kenneth Adam Miller
2014-12-02 21:02         ` Gerd Stolpmann

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=546D06C4.4060200@coherentgraphics.co.uk \
    --to=john@coherentgraphics.co.uk \
    --cc=caml-list@inria.fr \
    --cc=kennethadammiller@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).