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 B2F9D7F188 for ; Thu, 10 Nov 2016 10:27:18 +0100 (CET) X-IronPort-AV: E=Sophos;i="5.31,618,1473112800"; d="scan'208";a="244371140" Received: from meleze.ens.fr (HELO [129.199.99.114]) ([129.199.99.114]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 10 Nov 2016 10:27:18 +0100 References: <4912b1d7-c491-9462-2220-c08492d1833d@inria.fr> To: caml-list@inria.fr From: Francois BERENGER X-Forwarded-Message-Id: <4912b1d7-c491-9462-2220-c08492d1833d@inria.fr> Message-ID: <3195f89c-0920-f844-ff1f-dec7cb0c2814@inria.fr> Date: Thu, 10 Nov 2016 10:27:18 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <4912b1d7-c491-9462-2220-c08492d1833d@inria.fr> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Caml-list] OASIS help On 11/10/2016 10:08 AM, Laurent Thévenoux wrote: > Hello, > > I’m trying to use OASIS to configure a project written in OCaml. I currently use a Makefile which works fine but doesn’t allow enough possibilities. My project uses the menhir parser but OASIS attempts to use ocamlyacc. > > How can I specify that I need to run ocamlbuild with -use-menhir instead of ocamlyacc ? Put a BUILFLAGS line as the first line of your Makefile: --- BUILDFLAGS = " -use-menhir " # OASIS_START [...] --- This part of the Makefile will be kept by oasis. -- Regards, Francois. "When in doubt, use more types"