This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: debug target


Akim Demaille wrote:

> Dean Hoover <dhoover@acm.org> writes:
>
> > I am new to autotools, and am reading GNU autoconf, automake, and
> > libtool by Vaughan, et. al. and the manuals for autoconf and
> > automake. I am building a fairly large project with multiple
> > directories and several executables and several libraries. I plan to
> > use this in conjunction with CVS. I would like to know how to go
> > about adding a debug target, such that -O2 is not given on the
> > compile/link lines. Any ideas?
>
> make clean all CFLAGS=-ggdb

The sources are c++, so should I set CXXFLAGS instead?

Is this somewhere in the documents?

Thanks.

Dean



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]