1
0
mirror of https://github.com/moparisthebest/sslh synced 2024-11-21 16:45:03 -05:00

Make version.h before any other object

This commit is contained in:
Yves Rutschle 2013-09-17 08:41:10 +02:00
parent 2d23cdc9f4
commit 5952ca4aaf

View File

@ -39,13 +39,13 @@ all: sslh $(MAN) echosrv
version.h:
./genver.sh >version.h
sslh: $(OBJS) sslh-fork sslh-select
sslh: sslh-fork sslh-select
sslh-fork: $(OBJS) sslh-fork.o Makefile common.h 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
sslh-select: $(OBJS) sslh-select.o Makefile common.h version.h
sslh-select: version.h $(OBJS) sslh-select.o Makefile common.h
$(CC) $(CFLAGS) $(LDFLAGS) -o sslh-select sslh-select.o $(OBJS) $(LIBS)
#strip sslh-select