From efba55896744e61990ecc70d2420b85f92c8303f Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Fri, 24 Jun 2016 20:11:13 -0400 Subject: [PATCH] make sure the files using version.h depend on it being generated first --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b1cf9ce..32d2ca8 100644 --- a/Makefile +++ b/Makefile @@ -59,7 +59,7 @@ endif all: sslh $(MAN) echosrv -.c.o: *.h +.c.o: *.h version.h $(CC) $(CFLAGS) $(CPPFLAGS) -c $< version.h: @@ -78,7 +78,7 @@ sslh-select: version.h $(OBJS) sslh-select.o Makefile common.h systemd-sslh-generator: systemd-sslh-generator.o $(CC) $(CFLAGS) $(LDFLAGS) -o systemd-sslh-generator systemd-sslh-generator.o -lconfig -echosrv: $(OBJS) echosrv.o +echosrv: version.h $(OBJS) echosrv.o $(CC) $(CFLAGS) $(LDFLAGS) -o echosrv echosrv.o probe.o common.o tls.o $(LIBS) $(MAN): sslh.pod Makefile