diff options
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |