Re: How to build to debug with gdb?
- From
Giuseppe Crino' <giuscri@gmail.com>
- Date
- Aug 28, 2019, 11:00 UTC
- Message-ID
- <20190828110046.GB4450@instance-template-2.europe-west6-a.c.vaulted-journal-250706.internal>
- In-Reply-To
- <20190828103217.GA6400@szeder.dev>
On Wed, Aug 28, 2019 at 12:32:17PM +0200, SZEDER Gábor wrote:
Show 8 quoted lines
> I don't think it's unusual at all that the 'install' target depends on > 'all'. A quick and incomprehensive survey of Makefiles from a few > open source projects that I happen to have lying around seems to > confirm this. > > What might be unusual (but is rather convenient for developers) is > that Git's build process checks the build flags, and rebuilds the > whole thing after the flags changed.
Maybe I'm biased by my incompetence with Makefile's but since rebuilding the project with `install` but different flags from the first make is unusual this is worth mentioning to developers.