help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unwanted rm command at output of execution.


From: Paul D. Smith
Subject: Re: unwanted rm command at output of execution.
Date: Wed, 4 Sep 2002 00:03:39 -0400

%% "Scot Rider" <address@hidden> 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 <address@hidden>          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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]