From owner-freebsd-questions@FreeBSD.ORG Sun Oct 31 12:06:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05F9E1065693 for ; Sun, 31 Oct 2010 12:06:02 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 843B38FC12 for ; Sun, 31 Oct 2010 12:06:01 +0000 (UTC) Received: by bwz3 with SMTP id 3so3824147bwz.13 for ; Sun, 31 Oct 2010 05:06:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:received :reply-to:in-reply-to:references:date:message-id:subject:from:to:cc :content-type; bh=Aecq17Aik9kbpk6+81iTIL11kRkRRj53HHObSjla584=; b=TJemiKK+YGHUa6m2Er8ZGJsaoQkl+KawBrVohVo5H3LE+ELLCTqghjoNo9DZsEDOxv 1Ml+0YZ2p0TfKSpHWrMnbodmAHLVDBATbyT/wUHp8BQDkB1NhRo3djtz3UDCrQxILhIp Ol8+y3LIBQmFQmbjvvmkZTnQb+1PsRNOVqFow= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=KGJRWFi7h0u3kQA4LvoBP5k4QP/2fCQYKWzNyJo88DFl9hmcPhsDSuZYJ2ceOM+Lsh OU6Qnkojm2sYSXEMbyQHFczGwPXCYW/kXRDrd/iRXnLG6M15T6IAlfVR3//4q0OFNcbi s2CEBwLwmy9bqmn/AoOixYLARgz59CdjKqBo8= MIME-Version: 1.0 Received: by 10.204.61.16 with SMTP id r16mr193258bkh.4.1288525294632; Sun, 31 Oct 2010 04:41:34 -0700 (PDT) Received: by 10.204.52.19 with HTTP; Sun, 31 Oct 2010 04:41:34 -0700 (PDT) Received: by 10.204.52.19 with HTTP; Sun, 31 Oct 2010 04:41:34 -0700 (PDT) In-Reply-To: References: Date: Sun, 31 Oct 2010 11:41:34 +0000 Message-ID: From: Chris Rees To: David DEMELIER Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Portable Makefile(s) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Oct 2010 12:06:02 -0000 You could (at the risk of war) use autotools? Chris -------- Sorry for top-posting, Android won't let me quote, but K-9 can't yet do threading. On 31 Oct 2010 11:35, "David DEMELIER" wrote: Hello, I'm working on many projects, and writing makefile is really painful. I love the BSD Makefile syntax obviously, but I also love that people using Linux could run make to build my projects too. And using BSD makefile syntax disallow this. Reducing the makefile to the minimal makes them portable, but then you canno't use loops, conditionnals, and this is getting my nerves. What could I do to write Makefile compatible on every operating systems ? I'm thinking about Cmake but I hate the syntax, also for dmake... Kind regards, -- Demelier David _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"