Re: [dev] Reasonable Makefiles

From: Nick <suckless-dev_AT_njw.me.uk>
Date: Tue, 18 Feb 2014 15:17:18 +0000

On Tue, Feb 18, 2014 at 03:21:53PM +0100, Anselm R Garbe wrote:
> Exactly. I would even go a bit further than that. When designing my
> stali Makefile's, I only have a single config.mk in a central place,
> but many Makefiles for each dependency that include the central
> config.mk

Interesting. How do you handle things like ldflags and cflags for
specific libraries? Are they just all listed in the central
config.mk, with more lines added when an application is added that
needs them?

That sounds reasonable to me, though it could look a bit unwieldy to
a newcomer as presumably there would be lots of lines for specific
libraries, most of which would probably not need to be touched.
Received on Tue Feb 18 2014 - 16:17:18 CET

This archive was generated by hypermail 2.3.0 : Tue Feb 18 2014 - 16:24:05 CET