On Mon, 2002-09-09 at 23:11, Steve M. Robbins wrote:
> On Mon, Sep 09, 2002 at 10:33:40PM -0500, Stephen Torri wrote:
> > I am just posting this to make sure I understand the difference between
> > these:
> > 
> > AM_CFLAGS - compile time flags
> > AM_CPPFLAGS - preprocessor flags (e.g. -I, -D)
> > AM_LDFLAGS - linker flags (e.g. -L)
> 
> Yes.
>  
> > I am working on a project that is updating its Makefile.am files. I see
> > a variety of flags in one variable like CFLAGS contains -I and -F flags
> > for example. I was wondering what is the advantage of doing this with
> > automake variables?
> 
> Are you asking what is the advantage of separating them as automake
> does?  I guess the advantage is that automake uses, e.g. LDFLAGS for
> linking lines where generic CFLAGS (-O, -g) might upset the linker.

Yes. What is the advantage of separating them?

Stephen



Reply via email to