Target-specific flags not working

2006-06-09 Thread Daniel Haude
Hello, I'm trying to get automake to set a compiler flag when compiling a specific binary. My Makefile.am looks (in part) like this: CFLAGS = -W -Wall -ansi -pedantic -g [...] bin_PROGRAMS = ctops-gui gen_gui_data gen_gui_data_SOURCES = \ gen_gui_data.c \ [...] ctops_g

Re: Target-specific flags not working

2006-06-12 Thread Daniel Haude
On Fri, 09 Jun 2006 14:16:57 +0200, Stepan Kasal <[EMAIL PROTECTED]> wrote: Hello, I tried to reproduce your problem with Automake 1.9.5 and did not succeed either. Thanks for your reply. I don't know what you mean by "either", since yours is the only reply I received. But anyway I was a

[AM-1.4] Multiple Subdir Problem

2006-06-13 Thread Daniel Haude
Well, it ain't all that multiple. I just added another subdir to my project in the toplevel Makefile.am like this: SUBDIRS = tops gui (it was just "gui" before). The subdir "tops" has a rudimentary Makefile.am as well. My problem is that the configure run doesn't touch that new directory at

[AM-1.4] "make distclean" tries to build objects

2006-06-13 Thread Daniel Haude
What can one say about this? I don't get it. Thanks, --Daniel [EMAIL PROTECTED]:~/Projects/ctops$ make distclean Making distclean in . make[1]: Entering directory `/home/dh/Projects/ctops' rm -f config.h rm -f TAGS ID rm -f Makefile rm -f config.cache config.log stamp-h stamp-h[0-9]* make[1]: L

Re: [AM-1.4] "make distclean" tries to build objects

2006-06-13 Thread Daniel Haude
On Tue, 13 Jun 2006 17:08:58 +0200, Gary V. Vaughan <[EMAIL PROTECTED]> wrote: Probably not. You are fighting against all the bugs and misfeatures that have been fixed over the last five years of automake development if you insist on staying with automake-1.4 (I branched for the 1.4px series in