[sslh] [PATCH 10/10] Fix build issues when version.h doesn't exist yet

ondra+sslh at mistotebe.net ondra+sslh at mistotebe.net
Tue Sep 24 00:30:40 CEST 2013


From: Ondřej Kuzník <ondra at mistotebe.net>

---
 Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 32a2b56..52c491c 100644
--- a/Makefile
+++ b/Makefile
@@ -41,6 +41,8 @@ version.h:
 
 sslh: $(OBJS) sslh-fork sslh-select
 
+common.o: version.h
+
 sslh-fork: $(OBJS) sslh-fork.o Makefile common.h version.h
 	$(CC) $(CFLAGS) -o sslh-fork sslh-fork.o $(OBJS) $(LIBS)
 	#strip sslh-fork
@@ -80,7 +82,7 @@ distclean: clean
 	rm -f tags cscope.*
 
 clean:
-	rm -f sslh-fork sslh-select echosrv $(MAN) *.o *.gcov *.gcno *.gcda *.png *.html *.css *.info 
+	rm -f sslh-fork sslh-select echosrv version.h $(MAN) *.o *.gcov *.gcno *.gcda *.png *.html *.css *.info
 
 tags:
 	ctags --globals -T *.[ch]
-- 
1.8.4.rc3




More information about the sslh mailing list