bug-make
[Top][All Lists]
Advanced

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

Re: A problem with "-include"


From: Paul Smith
Subject: Re: A problem with "-include"
Date: Sat, 01 Jun 2019 17:39:26 -0400
User-agent: Evolution 3.32.1-2

I added back the mailing list, for completeness.


On Sun, 2019-06-02 at 00:25 +0430, Arham Amouei wrote:
> I just didn't like the fact that whenever I entered "make clean" the
> make first updated depend.mk and then deleted it!

Ah.  It would have been good if your original questions had been more
clear about what the underlying requirement was.

Typically people who want to avoid rebuilding included files when
certain targets are given on the command line will put them into an
ifeq/ifneq statement comparing MAKECMDGOALS.

However, even in that situation things are not always so simple, since
you might try to run something like "make clean all" to do both with
one invocation.




reply via email to

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