[Top][All Lists]

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

Re: autodependencies and make clean target

From: Dan Kegel
Subject: Re: autodependencies and make clean target
Date: Fri, 10 Oct 2003 11:08:40 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030617

Paul D. Smith wrote:
%% 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... :).

It's hard to find, though.  It ought to be linked to from
the section "Rules for Cleaning the Directory".

- Dan

reply via email to

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