%% Lin George <[EMAIL PROTECTED]> writes:

  lg> I am reading through GNU make manual about "Generating
  lg> Prerequisites Automatically" topic. I do not quite
  lg> understand what the following statements mean (Section
  lg> 4.14),

  lg> --------------------
  lg> Note that such a prerequisite constitutes mentioning
  lg> main.o in a makefile, so it can never be considered an
  lg> intermediate file by implicit rule search. This means
  lg> that make won't ever remove the file after using it;
  lg> see Chains of Implicit Rules. 
  lg> --------------------

  lg> Could anyone show me a simple sample please?

I'm not sure what kind of example one could show.

Read the section of the GNU make manual on intermediate files.

Then note that by putting your .o files into the makefile like this,
you're ensuring that they cannot be intermediate files.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


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

Reply via email to