[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dir_PRIMARY_*FLAGS
From: |
NightStrike |
Subject: |
Re: dir_PRIMARY_*FLAGS |
Date: |
Tue, 6 Nov 2007 13:13:58 -0500 |
On 11/6/07, Ralf Wildenhues <address@hidden> wrote:
> * NightStrike wrote on Tue, Nov 06, 2007 at 07:02:55PM CET:
> >
> > Is it possible to specify something like foo_CFLAGS for all libraries
> > that get installed into that directory, but not affect the general
> > case? Now yes, I can define my own variable called as such and
> > include it on the CFLAGS line of every library installed into foo. I
> > am looking for a more automated way, however.
>
> You could just use one Makefile per foodir, and then set AM_CFLAGS in
> each one. Yeah, I guessed that you did not want to hear that.
Definitely not :)
The Automake manual makes reference to Peter Miller's paper
(http://www.pcug.org.au/~millerp/rmch/recu-make-cons-harm.html). I've
been trying to adopt those ideas as much as possible, and so far have
succeeded in not requiring any recursive invocations of make. Your
suggestion would require recursive make, correct?