rules.mk 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. TAP_DANCE_ENABLE = yes
  2. EXTRAKEY_ENABLE = yes
  3. BACKLIGHT_ENABLE = no
  4. COMMAND_ENABLE = no
  5. MOUSEKEY_ENABLE = no
  6. AUDIO_ENABLE = no
  7. CONSOLE_ENABLE = no
  8. NKRO_ENABLE = yes
  9. LTO_ENABLE = yes
  10. VIA_ENABLE = yes
  11. SRC += stanrc85.c
  12. ifeq ($(strip $(KEYBOARD)), projectkb/alice/rev2)
  13. SRC += rgblight_layers.c
  14. SRC += startup_fanfare.c
  15. OPT_DEFS += -DHAS_INDICATORS
  16. VELOCIKEY_ENABLE=yes
  17. endif
  18. ifeq ($(strip $(KEYBOARD)), sneakbox/aliceclone)
  19. SRC += indicator_layers_sneakbox.c
  20. SRC += startup_fanfare.c
  21. OPT_DEFS += -DHAS_INDICATORS
  22. OPT_DEFS += -DHAS_ROTARY
  23. endif
  24. ifeq ($(strip $(KEYBOARD)), tkc/osav2)
  25. SRC += rgblight_layers_osa.c
  26. VELOCIKEY_ENABLE=yes
  27. SRC += rgb_timeout.c
  28. endif
  29. ifeq ($(strip $(KEYBOARD)), jacky_studio/bear_65)
  30. BACKLIGHT_ENABLE = yes
  31. RGB_MATRIX_ENABLE = yes
  32. RGBLIGHT_ENABLE = no
  33. SRC += rgb_layers.c
  34. endif
  35. ifeq ($(strip $(KEYBOARD)), mechlovin/adelais/rgb_led/rev2)
  36. SRC += rgb_layers.c
  37. SRC += rgb_timeout.c
  38. endif
  39. ifeq ($(strip $(KEYBOARD)), mechlovin/adelais/standard_led/arm/rev4/stm32f303)
  40. OPT_DEFS += -DHAS_INDICATORS
  41. SRC += rgb_timeout.c
  42. SRC += indicator_layers_sneakbox.c
  43. endif
  44. ifeq ($(strip $(KEYBOARD)), nasu)
  45. SRC += indicator_layers_sneakbox.c
  46. SRC += startup_fanfare.c
  47. OPT_DEFS += -DHAS_INDICATORS
  48. endif
  49. ifeq ($(strip $(KEYBOARD)), mechlovin/adelais/standard_led/arm/rev4/apm32f103)
  50. OPT_DEFS += -DHAS_INDICATORS
  51. SRC += rgb_timeout.c
  52. SRC += indicator_layers_sneakbox.c
  53. endif