On 2022-05-05 06:42, nikhil jain wrote:
> Hi Pablo,
> 
> Thanks for your reply.
> I actually do not know how many targets will be compiled (we have more than
> 10k targets in a Makefile). So, is there a straightforward way to know that
> only a single code file is changed and it will be an incremental build and
> not a full build ?

It sounds like make has to walk all the rules and determine whether all
non-PHONY targets required updating. If so, it was a complete build.

If even one real target is skipped because it is up-to-date, it's
an incremental build.

Reply via email to