rules.mk 638 B

12345678910111213141516171819
  1. # Build Options
  2. # change to "no" to disable the options, or define them in the Makefile in
  3. # the appropriate keymap folder that will get included automatically
  4. #
  5. # If your custom treadstone32 pcb, you can rewrite to yes.
  6. RGBLIGHT_ENABLE = yes # LED underglow (Enable WS2812 RGB underlight.)
  7. LED_ANIMATIONS = yes # LED animations
  8. # Other selectable option
  9. IOS_DEVICE_ENABLE = no # connect to IOS device (iPad,iPhone)
  10. ifeq ($(strip $(LED_ANIMATIONS)), yes)
  11. # OPT_DEFS += -DRGBLIGHT_ANIMATIONS
  12. OPT_DEFS += -DLED_ANIMATIONS
  13. endif
  14. ifeq ($(strip $(IOS_DEVICE_ENABLE)), yes)
  15. OPT_DEFS += -DIOS_DEVICE_ENABLE
  16. endif