defs.h must be a dependency on each source file, otherwise targets might be built before defs.h is linked into the directory. Signed-off-by: Sven Schnelle <svens@xxxxxxxxxxxxx> --- extensions/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/Makefile b/extensions/Makefile index 7aa019e1cc93..019e4f7e640b 100644 --- a/extensions/Makefile +++ b/extensions/Makefile @@ -26,9 +26,9 @@ CONTRIB_SO := $(patsubst %.c,%.so,$(wildcard *.c)) -all: link_defs $(CONTRIB_SO) - -link_defs: +all: $(CONTRIB_SO) + +defs.h: @rm -f defs.h @ln ../defs.h -- 2.32.0 -- Crash-utility mailing list Crash-utility@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/crash-utility