Add -DODIN_VERSION_RAW to Makefile

This commit is contained in:
gingerBill
2021-04-25 22:19:34 +01:00
parent ff933ca37f
commit af3784ebb6
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -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)