summaryrefslogtreecommitdiff
blob: c6108ffb1e9c9e8bb653349a6a047e65d7e38b70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Make sure the files using version.h depend on it being generated first.

Gentoo-bug: 594586

--- a/Makefile
+++ b/Makefile
@@ -59,7 +59,7 @@
 
 all: sslh $(MAN) echosrv
 
-.c.o: *.h
+%.o: %.c *.h version.h
 	$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
 
 version.h: