Skip to content

Instantly share code, notes, and snippets.

@fgaz
Created September 26, 2017 15:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fgaz/cafc3f270ebe4dd07709b7086f28d1bc to your computer and use it in GitHub Desktop.
Save fgaz/cafc3f270ebe4dd07709b7086f28d1bc to your computer and use it in GitHub Desktop.
--- tuntox/Makefile 2017-09-26 15:26:24.880458159 +0000
+++ tuntox/Makefile 2017-09-26 15:26:44.880312867 +0000
@@ -16,6 +16,2 @@ all: tuntox
-gitversion.h: .git/HEAD .git/index
- @echo " GEN $@"
- @echo "#define GITVERSION \"$(shell git rev-parse HEAD)\"" > $@
-
%.o: %.c $(INCLUDES) gitversion.h
--- /dev/null
+++ tuntox/gitversion.h
@@ -0,0 +1,2 @@
+#define GITVERSION "fad23001af27f1cd380f7d05270ddcc04244f507"
+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment