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?


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to