rules.mk 622 B

123456789101112131415161718192021222324252627282930313233
  1. SRC += bocaj.c \
  2. process_records.c
  3. ifneq ("$(wildcard $(USER_PATH)/secrets.c)","")
  4. SRC += secrets.c
  5. endif
  6. ifeq ($(strip $(TAP_DANCE_ENABLE)), yes)
  7. SRC += tap_dances.c
  8. endif
  9. # Caused problems when building via docker on Mac OS
  10. # EXTRAFLAGS += -flto
  11. ifeq ($(strip $(NO_SECRETS)), yes)
  12. OPT_DEFS += -DNO_SECRETS
  13. endif
  14. ifeq ($(strip $(MACROS_ENABLED)), yes)
  15. OPT_DEFS += -DMACROS_ENABLED
  16. endif
  17. ifeq ($(strip $(UCIS_ENABLE)), yes)
  18. SRC += send_unicode.c
  19. endif
  20. ifeq ($(strip $(UNICODEMAP_ENABLE)), yes)
  21. SRC += send_unicode.c
  22. endif
  23. ifeq ($(strip $(UNICODE_ENABLE)), yes)
  24. SRC += send_unicode.c
  25. endif