Mail Archives: djgpp/2000/01/12/12:41:48
On Wed, 12 Jan 2000, SpamKiLr wrote:
> `missing target pattern. Stop.'
> `multiple target patterns. Stop.'
> `target pattern contains no `%'. Stop.'
> These are generated for malformed static pattern rules. The first
> means there's no pattern in the target section of the rule, the
> second means there are multiple patterns in the target section,
> and the third means the target doesn't contain a pattern character
> (`%').
>
> Which is incorrect, you or the info file?
We are both correct (the % is only relevant to the third message, not to
the first two). But this isn't helping you; I need to see the Makefile
to be able to say something really useful.
> In any case it asserts that the problem is with the target section.
> That's $(DOCTARGETFILE), not $(DOCSOURCEFILES).
No, it doesn't. The Makefile reader code in Make is an awful mess, and
it's quite possible that Make is falling off its (rather limited) sense
and misdiagnoses the problem. I *really* need to see the Makefile, if
you want me to help.
> just to satisfy your curiosity
Why do I always need to sustain offence in order to help you, Paul? I'm
not in the business of satisfying my curiosity about your Makefile; I have
better things to do with my free time, believe me. If you really want my
help, please let me do that in my usual nerdyish way: that's the only way
I'm capable to do it. If you do NOT want my help, please say so, and I
will stop reading this thread.
Now, can you PLEASE post the Makefile here??
> You found me a bug, but nothing to do with pattern rules, since it
> isn't a pattern rule...
It isn't supposed to be a pattern rule: Make complains about a ``target
pattern'', not about a pattern rule.
But this is all academic; if you don't post the Makefile, I can do
nothing more to help you except refer you to the source code.
- Raw text -