automake, conditionals, warnings about overriding commands using .yy-fil
From:
roman . fietze
Subject:
automake, conditionals, warnings about overriding commands using .yy-files
Date:
Wed, 25 Feb 2004 10:09:39 +0200
Hello,
First of all, apologize the MUA I'm using instead of e.g. mutt,
but currently I have no chance to route my mail through Notes :)
This could also be the reason for a mangled file name of the attachment,
which originally was amlex_test.tar.bz2. I've included Makefile.am in here,
too, just in case.
Just a minor problem: when compiling the sources in
the attachmant using the files in the attachment I get
Makefile:250: warning: overriding commands for target `tparse.h'
Makefile:242: warning: ignoring old commands for target `tparse.h'
This is caused by the occurence of tparse.h or tparse.yy in two separate conditionals of Makefile.am, causing automake to create two rules "tparse.h: tparse.yy ...".
I'm not too familiar with automake to fix this if necessary at all,
maybe I've just got something wrong in my Makefile.am.