summaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index af2d55e..d1c7728 100644
--- a/config.mk
+++ b/config.mk
@@ -16,6 +16,10 @@ ERR =
# uncomment to enable errors
# ERR = -DERR
+EXPLAIN =
+# comment to disable explinations
+EXPLAIN = -DEXPLAIN
+
# add compilation details to VERSION variable
ifneq ($(GIT),)
VERSION := $(VERSION)"\\nlibgit2 "`$(PKG_CONFIG) --modversion $(GITLIB)`
@@ -25,5 +29,10 @@ ifeq ($(ERR),)
else
VERSION := $(VERSION)"\\nerrors enabled"
endif
+ifeq ($(EXPLAIN),)
+ VERSION := $(VERSION)"\\nexplinations disabled"
+else
+ VERSION := $(VERSION)"\\nexplinations enabled"
+endif
CC = cc