This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: AM_CFLAGS and sub/foo.c
- To: "Steve M. Robbins" <steven dot robbins at videotron dot ca>
- Subject: Re: AM_CFLAGS and sub/foo.c
- From: Alexandre Oliva <oliva at lsd dot ic dot unicamp dot br>
- Date: 17 Jun 2001 17:22:26 -0300
- Cc: Tom Tromey <tromey at redhat dot com>, GNU Automake List <automake at gnu dot org>
- List-Id: Discussion list for automake <automake.gnu.org>
- References: <20010615004258.B28942@nyongwa.montreal.qc.ca>
On Jun 15, 2001, "Steve M. Robbins" <steven.robbins@videotron.ca> wrote:
> I normally want the program-specific flags _in addition_ to the
> generic flags. So I *always* have $(LDADD) in $foo_LDADD.
But consider the case of not wanting $(LDADD) in foo_LDADD. Or
consider cases in which the order matters, and you need control over
where $(LDADD) appears in foo_LDADD. I think the only way to do this
right is to defer the decision to the user, which means not having it
included by default. Which is a good thing in itself, because it lets
one omit LDADD completely.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me