Someone suggested this:

> >>>>> "Martin" == Martin d'Anjou <[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.
> 
> 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)
> endif

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

Martin




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

Reply via email to