From kde-devel Fri Apr 30 09:58:33 1999 From: Stephan Kulow Date: Fri, 30 Apr 1999 09:58:33 +0000 To: kde-devel Subject: Re: extending variables in automake Makefile X-MARC-Message: https://marc.info/?l=kde-devel&m=92546660914211 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