|
From: | Dan Kegel |
Subject: | Re: autodependencies and make clean target |
Date: | Fri, 10 Oct 2003 10:35:54 -0700 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030617 |
Martin d'Anjou wrote:
Someone suggested this:"Martin" == Martin d'Anjou <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. i don't know what that methodology is offhand, but you might wrap your "include" with something that checks your target, like this: ifneq ($(MAKECMDGOALS),clean) -include $(deps) endifAnd it works very well for my situation. Thanks a lot!
Ooh, ooh, ooh. Thanks! - Dan
[Prev in Thread] | Current Thread | [Next in Thread] |