This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: question about Makefiles
- To: law at cygnus dot com
- Subject: Re: question about Makefiles
- From: Joe Buck <jbuck at synopsys dot com>
- Date: Mon, 16 Nov 98 13:08:20 PST
- Cc: tromey at cygnus dot com, egcs at cygnus dot com
> In message <87ogqdpf1z.fsf@cygnus.com>you write:
> > I didn't see this explictly mentioned anywhere, so I thought I'd ask
> > to make sure: does egcs require that its Makefiles work with any
> > `make', and not just GNU make?
> gnu-make is recommended, particularly when building srcdir != objdir.
> We'd like to be able to support vendor makes when building in
> srcdir.
The only extra make feature required for srcdir != objdir is VPATH, which
is a Posix make feature. srcdir != objdir works fine on Solaris with
Sun's make (modulo the texinfo problems).
Some makes don't support VPATH correctly, but as this deviates from Posix
it is a bug. We shouldn't try to support buggy makes, but we should
support Posix makes.