[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Pattern rule prereqs are variables with % in them
From: |
Greg Chicares |
Subject: |
Re: Pattern rule prereqs are variables with % in them |
Date: |
Sat, 03 Sep 2005 17:53:52 +0000 |
User-agent: |
Mozilla Thunderbird 1.0.2 (Windows/20050317) |
On 2005-9-2 21:42 UTC, Boucher, Jean wrote:
>
[snip example]
>
> When I try this, I get "*** No rule to make target `Example.elf', needed
> by `Example'. Stop."
I copied your example into one file, adding '#' before comments.
That way, it seems to work:
echo 'Hit .elf pattern rule for Example.elf. tgt=Example.elf,prereq=';\
# <link command>
Hit .elf pattern rule for Example.elf. tgt=Example.elf,prereq=
echo 'Hit .bin pattern rule for Example.bin';\
# <bin command>
Hit .bin pattern rule for Example.bin
Hit .lib .lib_objs pattern rule for (MODULE).lib
Made Example.
Is this the output what you wanted?
If so, the problem is the way you're factoring this into two
files. Do you use 'include' to reference one from the other,
for example?
RE: Pattern rule prereqs are variables with % in them, Boucher, Jean, 2005/09/07