help-make
[Top][All Lists]
Advanced

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

Re: autodependencies and make clean target


From: Paul D. Smith
Subject: Re: autodependencies and make clean target
Date: Fri, 10 Oct 2003 13:50:44 -0400

%% Dan Kegel <address@hidden> writes:

  Martin> Hi, When I type make clean, make rebuilds the dependency
  Martin> files before executing the commands in the clean target.
  Martin> I follow the methodology described at the paulandlesley
  Martin> site.

  >>> ifneq ($(MAKECMDGOALS),clean)
  >>> -include $(deps)
  >>> endif

  >> And it works very well for my situation. Thanks a lot!

  dk> Ooh, ooh, ooh.  Thanks!

Not to be a whiner or anything, but this _exact_ example is in the GNU
make manual... :).

-- 
-------------------------------------------------------------------------------
 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]