rules.mk 710 B

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