aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-04-25 22:19:34 +0100
committergingerBill <bill@gingerbill.org>2021-04-25 22:19:34 +0100
commitaf3784ebb62fc80edfe0e25fa70fb9b920d8d2a1 (patch)
treeb5d05d872ea94a4e5c5f8f8f28be6415c531f741 /Makefile
parentff933ca37ff5c092e9dd6810f4669538854b2a22 (diff)
Add `-DODIN_VERSION_RAW` to Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0352cb3a6..0425d17e0 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@ GIT_SHA=$(shell git rev-parse --short HEAD)
DISABLED_WARNINGS=-Wno-switch -Wno-pointer-sign -Wno-tautological-constant-out-of-range-compare -Wno-tautological-compare -Wno-macro-redefined
LDFLAGS=-pthread -ldl -lm -lstdc++
CFLAGS=-std=c++14 -DGIT_SHA=\"$(GIT_SHA)\"
+CFLAGS:=$(CFLAGS) -DODIN_VERSION_RAW=\"dev-$(shell date +"%Y-%m")\"
CC=clang
OS=$(shell uname)