%% Jochen Hepp <[EMAIL PROTECTED]> writes:

  jh> I found bug in make-3.79.1 (it accurs also in 3.78.1).

This is a bug in your makefile.

  jh> If a Makefile includes another file (Makefile.included) and if the
  jh> included file defines prerequisites for a target (or both define
  jh> prerequisites), then the prerequisites defined in the included
  jh> files a silently ignored.

No.

In your Makefile you have:

  #include Makefile.included

This is a makefile, not a C program.  In make, the include statement
isn't prefixed with "#", it's just written "include".

In make, any part of a line starting with "#" to the end of the line is
a comment, and make ignores it completely.

So, the reason the prerequisites are "ignored" is that your
Makefile.included file is never actually included, since the include is
commented out.  I removed the "#" from your example and it worked
correctly.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>         Network Management Development
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
   These are my opinions---Nortel Networks takes no responsibility for them.

_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make

Reply via email to