Portable Makefile(s)

Chris Rees utisoft at gmail.com
Sun Oct 31 12:06:02 UTC 2010


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 at 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 at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list