This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: debug target
- To: Akim Demaille <akim at epita dot fr>
- Subject: Re: debug target
- From: Dean Hoover <dhoover at acm dot org>
- Date: Wed, 28 Feb 2001 14:55:09 -0500
- CC: GNU Autotools <automake at gnu dot org>
- List-Id: Discussion list for automake <automake.gnu.org>
- References: <3A9D4658.66800437@acm.org> <mv466huzl4x.fsf@nostromo.lrde.epita.fr>
- Reply-To: dhoover at acm dot org
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