From 70a2ea926efc8ca455b08d230b90789a57bc29c6 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Thu, 23 Feb 2017 22:49:31 +0100 Subject: [PATCH] Makefile: fix parallel build version.h is included by some .o files, but it is generated. As such, it must be a dependency of those .o files. Rather than filter exactly which .o file needs it, just add a generic dependency for all .o files on version.h. Signed-off-by: "Yann E. MORIN" --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index b1cf9ce..7ebec92 100644 --- a/Makefile +++ b/Makefile @@ -67,6 +67,8 @@ version.h: sslh: sslh-fork sslh-select +$(OBJS): version.h + sslh-fork: version.h $(OBJS) sslh-fork.o Makefile common.h $(CC) $(CFLAGS) $(LDFLAGS) -o sslh-fork sslh-fork.o $(OBJS) $(LIBS) #strip sslh-fork