From af3784ebb62fc80edfe0e25fa70fb9b920d8d2a1 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sun, 25 Apr 2021 22:19:34 +0100 Subject: Add `-DODIN_VERSION_RAW` to Makefile --- Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile') 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) -- cgit v1.2.3