summaryrefslogtreecommitdiff
path: root/app/tools/halibut/version.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/tools/halibut/version.c')
-rw-r--r--app/tools/halibut/version.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/tools/halibut/version.c b/app/tools/halibut/version.c
new file mode 100644
index 0000000..38fbca1
--- /dev/null
+++ b/app/tools/halibut/version.c
@@ -0,0 +1,13 @@
+/*
+ * version.c: version string
+ */
+
+#include <stdio.h>
+
+#ifndef VERSION
+#define VER "anonymous build (" __DATE__ " " __TIME__ ")"
+#else
+#define VER "version " VERSION
+#endif
+
+const char *const version = VER;