This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 0/4] Makefile improvements and cleanups
- From: Simon Marchi <simon dot marchi at polymtl dot ca>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Sun, 13 Nov 2016 10:26:16 -0500
- Subject: Re: [PATCH 0/4] Makefile improvements and cleanups
- Authentication-results: sourceware.org; auth=none
- References: <20161113034625.8237-1-simon.marchi@polymtl.ca> <m237iv7oiw.fsf@linux-m68k.org>
On 2016-11-13 03:49, Andreas Schwab wrote:
On Nov 12 2016, Simon Marchi <simon.marchi@polymtl.ca> wrote:
The following patches contain a few improvements and cleanups to the
gdb
Makefile. The starting point is when I wondered why we had to write
individual
rules for each source file that is located in a subdirectory.
That's because the makefile was written to work non-GNU and/or
non-POSIX
makes.
Ok I see, I didn't know that pattern rules were GNU-specific.
As an honest follow-up question: do we need to stay compatible with
other makes than GNU make? From what I can see, Open/Net/FreeBSD all
use gmake to build their port of GDB already. I don't know about other
OSes on which people build GDB on (Windows, OS X, Solaris?). If GNU
make is readily available on these, perhaps we can consider making it a
requirement?