From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8204 invoked by alias); 13 Nov 2016 15:26:28 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 8189 invoked by uid 89); 13 Nov 2016 15:26:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.2 required=5.0 tests=AWL,BAYES_50,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=wondered, U*simon.marchi, simonmarchipolymtlca, Marchi X-HELO: simark.ca Received: from simark.ca (HELO simark.ca) (158.69.221.121) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 13 Nov 2016 15:26:18 +0000 Received: by simark.ca (Postfix, from userid 33) id 6C44A1E144; Sun, 13 Nov 2016 10:26:16 -0500 (EST) To: Andreas Schwab Subject: Re: [PATCH 0/4] Makefile improvements and cleanups X-PHP-Originating-Script: 33:rcube.php MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 13 Nov 2016 15:26:00 -0000 From: Simon Marchi Cc: gdb-patches@sourceware.org In-Reply-To: References: <20161113034625.8237-1-simon.marchi@polymtl.ca> Message-ID: <968dffb716723c39a8a3cf0ab2d5bfca@polymtl.ca> X-Sender: simon.marchi@polymtl.ca User-Agent: Roundcube Webmail/1.2.2 X-IsSubscribed: yes X-SW-Source: 2016-11/txt/msg00331.txt.bz2 On 2016-11-13 03:49, Andreas Schwab wrote: > On Nov 12 2016, Simon Marchi 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?