Date: Sun, 31 Oct 2010 11:41:34 +0000 From: Chris Rees <utisoft@gmail.com> To: David DEMELIER <demelier.david@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Portable Makefile(s) Message-ID: <AANLkTi=PVNkgwSnad=LAMThqc098UiANTvju-dOqNGJ2@mail.gmail.com> In-Reply-To: <AANLkTikJ-JAr9UrpooE=_XaXHdX%2ByTup75h9whmF52U5@mail.gmail.com> References: <AANLkTikJ-JAr9UrpooE=_XaXHdX%2ByTup75h9whmF52U5@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <demelier.david@gmail.com> 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=PVNkgwSnad=LAMThqc098UiANTvju-dOqNGJ2>