From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 7385E7FADE for ; Wed, 19 Nov 2014 22:08:24 +0100 (CET) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of john@coherentgraphics.co.uk) identity=pra; client-ip=188.64.184.41; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="john@coherentgraphics.co.uk"; x-sender="john@coherentgraphics.co.uk"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of john@coherentgraphics.co.uk) identity=mailfrom; client-ip=188.64.184.41; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="john@coherentgraphics.co.uk"; x-sender="john@coherentgraphics.co.uk"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@bluechip4.ukhost4u.com) identity=helo; client-ip=188.64.184.41; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="john@coherentgraphics.co.uk"; x-sender="postmaster@bluechip4.ukhost4u.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqEBAEMGbVS8QLgpemdsb2JhbABag2ODX8kch0kCgQkWAQEBAQERAQELBw0JQoQDAQEEIxVAARALBxECAgUWCwICCQMCAQIBRQYOiEoBCL1hllUBAQEBAQEEAQEBAQEBARuBLY9bB4J3gVQBBJc1jy2SdYM4AQEB X-IPAS-Result: AqEBAEMGbVS8QLgpemdsb2JhbABag2ODX8kch0kCgQkWAQEBAQERAQELBw0JQoQDAQEEIxVAARALBxECAgUWCwICCQMCAQIBRQYOiEoBCL1hllUBAQEBAQEEAQEBAQEBARuBLY9bB4J3gVQBBJc1jy2SdYM4AQEB X-IronPort-AV: E=Sophos;i="5.07,419,1413237600"; d="scan'208";a="108289469" Received: from bluechip4.ukhost4u.com ([188.64.184.41]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 19 Nov 2014 22:08:23 +0100 Received: from [86.26.5.13] (port=49378 helo=[192.168.0.3]) by bluechip4.ukhost4u.com with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.82) (envelope-from ) id 1XrCUA-001bmv-1f; Wed, 19 Nov 2014 21:08:22 +0000 Message-ID: <546D06C4.4060200@coherentgraphics.co.uk> Date: Wed, 19 Nov 2014 21:08:20 +0000 From: John Whitington User-Agent: Postbox 3.0.11 (Macintosh/20140602) MIME-Version: 1.0 To: Kenneth Adam Miller CC: caml users References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bluechip4.ukhost4u.com X-AntiAbuse: Original Domain - inria.fr X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - coherentgraphics.co.uk X-Get-Message-Sender-Via: bluechip4.ukhost4u.com: authenticated_id: john@coherentgraphics.co.uk Subject: Re: [Caml-list] Recursive dependency issues 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/