mirror of
https://github.com/yrutschle/sslh.git
synced 2025-04-14 08:07:14 +03:00
make sure the files using version.h depend on it being generated first
This commit is contained in:
parent
b4cb910438
commit
efba558967
4
Makefile
4
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user