[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: extending variables in automake Makefile
From: Stephan Kulow <coolo () itm ! mu-luebeck ! de>
Date: 1999-04-30 9:58:33
[Download RAW message or body]
pbrown@redhat.com wrote:
>
> I am trying to "extend" a variable in my Makefile.am. Doing
>
> CXXFLAGS += -pedantic
>
> fails, giving me only -pedantic and nothing else.
>
> trying
>
> CXXFLAGS = $(CXXFLAGS) -pedantic
>
> gives me just that...literally. $(CXXFLAGS) doesn't get expanded.
>
> How am I supposed to do this correctly (um, coolo... ;) )
>
Well, += is supposed to work, but because of a bug in automake.
The prefered way is AM_CXXFLAGS = -pedantic.
Greetings, Stephan
--
As long as Linux remains a religion of freeware fanatics,
Microsoft have nothing to worry about.
By Michael Surkan, PC Week Online
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic