diff options
Diffstat (limited to 'waffle/rules.mk')
-rw-r--r-- | waffle/rules.mk | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/waffle/rules.mk b/waffle/rules.mk new file mode 100644 index 0000000..5adb7aa --- /dev/null +++ b/waffle/rules.mk @@ -0,0 +1,39 @@ +BOOTMAGIC_ENABLE = yes +EXTRAKEY_ENABLE = yes +NRKO_ENABLE = yes +COMBO_ENABLE = yes +CAPS_WORD_ENABLE = yes +AUTOCORRECT_ENABLE = yes +TOP_SYMBOLS = yes +LTO_ENABLE = yes +TAP_DANCE_ENABLE = yes +UNICODE_COMMON = yes +MOUSEKEY_ENABLE = yes +MAGIC_ENABLE = no +CONSOLE_ENABLE = no +COMMAND_ENABLE = no +DEBOUNCE_TYPE = asym_eager_defer_pk + +SRC += waffle.c tapping.c + +ifeq ($(strip $(OLED_ENABLE)), yes) + SRC += oled.c + WPM_ENABLE = yes +endif + +ifeq ($(strip $(RGB_MATRIX_ENABLE)), yes) + SRC += color.c +endif + +ifeq ($(strip $(UNICODE_COMMON)), yes) + SRC += unicode.c +endif + +ifeq ($(PLATFORM), CHIBIOS) + RANDWORD = yes + EXTRAFLAGS = -O3 +endif + +ifeq ($(strip $(RANDWORD)), yes) + OPT_DEFS += -DRANDWORD +endif |