This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 0/4] Makefile improvements and cleanups


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]