diff options
author | Squibid <me@zacharyscheiman.com> | 2025-02-18 14:29:09 -0600 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2025-02-18 14:32:40 -0600 |
commit | 6025b2d8322caea124582fb9292780382466d660 (patch) | |
tree | c660f6639e279717539715384b5e30d87d54165e /config.mk | |
parent | 6c099e364812c18f3c60894118cfee4315eb6d3d (diff) | |
download | XD-6025b2d8322caea124582fb9292780382466d660.tar.gz XD-6025b2d8322caea124582fb9292780382466d660.tar.bz2 XD-6025b2d8322caea124582fb9292780382466d660.zip |
Add -e flag to explain what the previous smiley face means. This
requires us to also know what the previous return signal is, so
if XD is given a return code, it passes it through when finishing
execution.
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 |