[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Suffix rules do not work with per-target options
From: |
Stepan Kasal |
Subject: |
Suffix rules do not work with per-target options |
Date: |
Thu, 13 Jul 2006 19:41:16 +0200 |
User-agent: |
Mutt/1.4.2.1i |
Hello,
I have noticed that suffix rules do not work with per-target flags.
If you have
.q.c:
cp $< $@
foo_SOURCES = bar.q
foo_CPPFLAGS = -I dir
Then the generated rule looks like:
foo-bar.o: bar.q
... gcc bar.q ...
while both occurences of `bar.q' should obviously be `bar.c'.
I observed this with a recent CVS Automake and subdir-objects option,
but I think there is a possibility that the same bug is present in
other situations, too.
(No test case, no fix, just a quck bug report, sorry.)
I reported a somewhat similar bug a year ago:
http://lists.gnu.org/archive/html/bug-automake/2005-07/msg00109.html
The report was not answered, so I guess the bug is probably still
there.
Have a nice day,
Stepan
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Suffix rules do not work with per-target options,
Stepan Kasal <=