rules.mk 737 B

123456789101112131415161718192021222324252627282930313233
  1. SRC += xulkal.c \
  2. process_records.c \
  3. custom_tap_dance.c \
  4. timer_utils.c
  5. # Some usual defaults
  6. MOUSEKEY_ENABLE = no # Mouse keys (+4700)
  7. EXTRAKEY_ENABLE = yes # Audio control and System control (+450)
  8. TAP_DANCE_ENABLE = yes
  9. ifneq ($(strip $(DISABLE_LTO)), yes)
  10. EXTRAFLAGS += -flto
  11. OPT_DEFS += -DNO_ACTION_MACRO
  12. OPT_DEFS += -DNO_ACTION_FUNCTION
  13. endif
  14. ifeq ($(strip $(ENCODER_ENABLE)), yes)
  15. SRC += custom_encoder.c
  16. endif
  17. ifneq ($(strip $(RGB_MATRIX_ENABLE)), no)
  18. OPT_DEFS += -DRGB_ENABLE
  19. SRC += custom_rgb.c
  20. endif
  21. ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
  22. OPT_DEFS += -DRGB_ENABLE
  23. SRC += custom_rgb.c
  24. endif
  25. ifeq ($(strip $(OLED_DRIVER_ENABLE)), yes)
  26. SRC += custom_oled.c
  27. endif