From af9ae8a563fbd35a7500d64ad2bc3fab700f349f Mon Sep 17 00:00:00 2001 From: buffet Date: Wed, 17 Oct 2018 09:10:27 +0200 Subject: [PATCH] added version to config.mk --- config.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config.mk b/config.mk index 987588b..9e14994 100644 --- a/config.mk +++ b/config.mk @@ -1,3 +1,4 @@ +VERSION = NaV VERBOSE = 0 PREFIX = /usr/local @@ -10,6 +11,8 @@ LD = $(CC) INCS = -Isrc/ -CFLAGS = -std=c99 -Wall -Wextra -pedantic -Os -D_POSIX_C_SOURCE=2 $(INCS) +DEFS = -D_POSIX_C_SOURCE=2 -DVERSION_STRING=\"$(VERSION)\" + +CFLAGS = -std=c99 -Wall -Wextra -pedantic -Os $(DEFS) $(INCS) LDFLAGS = -lxcb CPPFLAGS = -MD -MP