You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
841 B

  1. SRC += yet-another-developer.c \
  2. process_records.c
  3. LINK_TIME_OPTIMIZATION_ENABLE = yes
  4. SPACE_CADET_ENABLE = no
  5. ifeq ($(strip $(TAP_DANCE_ENABLE)), yes)
  6. SRC += tap_dances.c
  7. endif
  8. ifeq ($(strip $(COMBO_ENABLE)), yes)
  9. SRC += combo.c
  10. endif
  11. ifeq ($(strip $(LEADER_ENABLE)), yes)
  12. SRC += leader.c
  13. endif
  14. ifneq ("$(wildcard $(USER_PATH)/secrets.c)","")
  15. SRC += secrets.c
  16. endif
  17. ifeq ($(strip $(NO_SECRETS)), yes)
  18. OPT_DEFS += -DNO_SECRETS
  19. endif
  20. ifeq ($(strip $(UNICODEMAP_ENABLE)), yes)
  21. SRC += unicode.c
  22. endif
  23. ifeq ($(strip $(MACROS_ENABLED)), yes)
  24. OPT_DEFS += -DMACROS_ENABLED
  25. endif
  26. ifdef CONSOLE_ENABLE
  27. ifeq ($(strip $(KEYLOGGER_ENABLE)), yes)
  28. OPT_DEFS += -DKEYLOGGER_ENABLE
  29. endif
  30. endif
  31. ifeq ($(strip $(MAKE_BOOTLOADER)), yes)
  32. OPT_DEFS += -DMAKE_BOOTLOADER
  33. endif