%% "Scot Rider" <[EMAIL PROTECTED]> writes:

  sr> In the following stripped down makefile, I am finding an unwanted
  sr> "rm" command at the end of the makefile's execution. Could someone
  sr> tell me where it is coming from.  Better still, how to stop it.

See the GNU make manual, and look up intermediate files in the index.

  sr> I've noticed that if I replace the $< and $@ with ip.c and ip.o ,
  sr> the 'rm' command goes away

Hmm.  I doubt that.  It must have been a coincidence and something else
(like the file existed already, or another change to the makefile) kept
it from being deleted.

-- 
-------------------------------------------------------------------------------
 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://mail.gnu.org/mailman/listinfo/help-make

Reply via email to