Re: [RCF/PATCH] Makefile: move 'ifdef DEVELOPER' after config.mak* inclusion
- From
Jeff King <peff@peff.net>
- Date
- Jun 1, 2016, 08:05 UTC
- Message-ID
- <20160601080504.GB22528@sigill.intra.peff.net>
- In-Reply-To
- <20160601080348.GA22528@sigill.intra.peff.net>
On Wed, Jun 01, 2016 at 04:03:48AM -0400, Jeff King wrote:
Show 12 quoted lines
> Perhaps: > > DEVELOPER_CFLAGS += -Wfoo > DEVELOPER_CFLAGS += -Wbar > ... > -include config.mak > ... > ifdef DEVELOPER > CFLAGS += $(DEVELOPER_CFLAGS) > endif > > would be more flexible.
Heh, our mails crossed, but I see you had the same idea. I think it is a strict improvement.
-Peff