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.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user