Re: How do I build debug versions?

2001-03-07 Thread Dean Hoover
Shameek Basu wrote: [snip HTML stuff] I am also a newbie at this. I've "solved" a small portion of your problem, with some help from others on this list. Here's what I'd do. in your top level Makefile.am file, add a target: debug: $(MAKE) all "CXXFLAGS=-g -DDEBUG" now, if you want to

Re: How do I build debug versions?

2001-03-07 Thread Guido Draheim
Alexandre Duret-Lutz wrote: "Dean" == Dean Hoover [EMAIL PROTECTED] writes: [...] Dean Another thing you could do is make multiple build directories Dean and always make in a certain way in them. In other words, you Dean could: Dean mkdir debug-build opt-build Dean cd

How do I build debug versions?

2001-03-05 Thread Shameek Basu
Hi, I am a newbie to the autotools, and needed some help with a project I am working on. I want to be able to generate a Makefile that takes some command line params and accordingly sets or does not set the "-g", "-O" etc flags. I don't want them to be parameters to the configure script