Fixed Makefile dependencies.
authorThomas Pornin <thomas.pornin@nccgroup.com>
Mon, 6 Apr 2026 13:36:08 +0000 (09:36 -0400)
committerThomas Pornin <thomas.pornin@nccgroup.com>
Mon, 6 Apr 2026 13:36:08 +0000 (09:36 -0400)
commit8f795e5feef3685595a6f6e58bc1b7b1b346cfe5
treebafe9263d1137c447a84e000c766fc4ca7de9bb2
parent3479195d052cc59db5358730ff3ad829abb7aced
Fixed Makefile dependencies.

Support for some cases of "parallel make" was added on 2025/09/01, but poorly, because all object files now had a dependency on the object directory, which was modified whenever a new file was created, triggering recompilation of everything. This was fixed by singling out one object file (settings.o) whose compilation rule includes creation of build/obj (if necessary), and making all other build targets depend on settings.o.
mk/Rules.mk
mk/mkrules.sh