On Mon, Jul 25, 2022 at 11:26:15AM +0100, Alexandru Elisei wrote: > > @@ -590,6 +590,7 @@ cscope: > > # Escape redundant work on cleaning up > > ifneq ($(MAKECMDGOALS),clean) > > -include $(DEPS) > > +-include $(STATIC_DEPS) > > In the spirit in keeping the makefile as small as possible and reading > fewer files, maybe STATIC_DEPS should be included only if the target is > $(PROGRAM)-static. Right this adds a measurable overhead, about 2-5% on a make invocation without anything to do. It's not noticeable since the feature tests still take most of the time, but optimizing it may be worthwhile Thanks, Jean