Generate UNICODE and UNICODEMAP constants using macros

This commit is contained in:
Konstantin Đorđević 2019-02-11 23:21:41 +01:00
parent 2f07627a5d
commit ddb0f39ebf
4 changed files with 41 additions and 8 deletions

View file

@ -5,5 +5,8 @@ endif
ifeq ($(strip $(TAP_DANCE_ENABLE)), yes)
SRC += tap_dance.c
endif
ifneq (,$(filter yes,$(UNICODE_ENABLE) $(UNICODEMAP_ENABLE))) # if either is yes
SRC += unicode.c
endif
EXTRAFLAGS += -flto