summaryrefslogtreecommitdiff
path: root/version.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-19 22:53:32 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-08-19 22:53:32 (GMT)
commit74400a651a461cd6181ed20e4074cc1b3bd04aab (patch)
treea46ac0e17e0e40bfa02f17abe01650dc6d1e5e4c /version.c
parent5eab5cf2cc5c7e19b05dc2c0c88fa5c975e5230c (diff)
downloadeeshow-74400a651a461cd6181ed20e4074cc1b3bd04aab.zip
eeshow-74400a651a461cd6181ed20e4074cc1b3bd04aab.tar.gz
eeshow-74400a651a461cd6181ed20e4074cc1b3bd04aab.tar.bz2
eeshow/: eeshow -V prints the commit from which eeshow was built
Diffstat (limited to 'version.c')
-rw-r--r--version.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/version.c b/version.c
new file mode 100644
index 0000000..a8b276f
--- /dev/null
+++ b/version.c
@@ -0,0 +1,16 @@
+/*
+ * version.c - GIT version
+ *
+ * Written 2016 by Werner Almesberger
+ * Copyright 2016 by Werner Almesberger
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ */
+
+#include "version.h"
+
+
+const char *version = VERSION;