On Tuesday, July 16th, 2024 at 5:57 PM, Eduard Zingerman <eddyz87@xxxxxxxxx> wrote: > I don't like .test.d dependency on all .bpf.o files (the v3 change) > as it does not encode the dependency we have: > test_progs depends on core_reloc.bpf.o at runtime. I talked to Eduard off-list, and in his view this is the most appropriate way to leave a catch-all dependency: $(OUTPUT)/$(TRUNNER_BINARY): $(TRUNNER_BPF_OBJS) As opposed to original: $(TRUNNER_TEST_OBJS): $(TRUNNER_OUTPUT)/%.test.o: \ ... $(TRUNNER_BPF_OBJS) \ ... Or v3: $(TRUNNER_TEST_OBJS:.o=.d): $(TRUNNER_OUTPUT)/%.test.d: \ ... $(TRUNNER_BPF_OBJS) \ ...