rules.mk 865 B

1234567891011121314151617181920212223242526272829303132
  1. SRC += dshields.c
  2. MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
  3. COMMAND_ENABLE = no # Commands for debug and configuration
  4. CONSOLE_ENABLE = no # Console for debug(+400)
  5. EXTRAKEY_ENABLE = no
  6. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  7. API_SYSEX_ENABLE = no
  8. SPACE_CADET_ENABLE = no
  9. LEADER_ENABLE = no
  10. DYNAMIC_MACRO_ENABLE = yes
  11. LINK_TIME_OPTIMIZATION_ENABLE = yes
  12. ifeq ($(strip $(KEYBOARD)), planck/rev3)
  13. AUDIO_ENABLE = no
  14. BACKLIGHT_ENABLE = yes
  15. RGB_MATRIX_ENABLE = no
  16. endif
  17. ifeq ($(strip $(KEYBOARD)), planck/rev6)
  18. CFLAGS += -Wno-error=deprecated
  19. EXTRALDFLAGS = -Wl,--build-id=none
  20. AUDIO_ENABLE = no
  21. BACKLIGHT_ENABLE = no
  22. RGB_MATRIX_ENABLE = no
  23. endif
  24. ifeq ($(strip $(KEYBOARD)), planck/light)
  25. AUDIO_ENABLE = yes
  26. BACKLIGHT_ENABLE = no
  27. RGB_MATRIX_ENABLE = yes
  28. endif