summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 141af4f..b94a39c 100644
--- a/Makefile
+++ b/Makefile
@@ -14,9 +14,10 @@ INCLUDES = $(wildcard *.h)
14# Targets 14# Targets
15all: tuntox 15all: tuntox
16 16
17gitversion.h: .git/HEAD .git/index 17gitversion.h: FORCE
18 @echo " GEN $@" 18 @if [ -f .git/HEAD ] ; then echo " GEN $@"; echo "#define GITVERSION \"$(shell git rev-parse HEAD)\"" > $@; fi
19 @echo "#define GITVERSION \"$(shell git rev-parse HEAD)\"" > $@ 19
20FORCE:
20 21
21tox_bootstrap.h: 22tox_bootstrap.h:
22 python generate_tox_bootstrap.py 23 python generate_tox_bootstrap.py