Paul D. Smith wrote:
%% Dan Kegel <[EMAIL PROTECTED]> 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



_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to