Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Oct 2010 12:34:28 +0100
From:      David DEMELIER <demelier.david@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Portable Makefile(s)
Message-ID:  <AANLkTikJ-JAr9UrpooE=_XaXHdX%2ByTup75h9whmF52U5@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikJ-JAr9UrpooE=_XaXHdX%2ByTup75h9whmF52U5>