diff options
author | Jack Sangdahl <[email protected]> | 2024-12-20 12:37:07 -0700 |
---|---|---|
committer | Jack Sangdahl <[email protected]> | 2024-12-20 12:37:07 -0700 |
commit | 42fc0e65c572ff1cb258ec750a45d34ee5ba0049 (patch) | |
tree | 0304734cef75ee49181d2ff5c0e3edb182940972 /jack/rules.mk | |
parent | 2ef7a462a119dd9365a72092fc5d7a4b5fb04de2 (diff) | |
download | qmk_me-42fc0e65c572ff1cb258ec750a45d34ee5ba0049.tar.gz qmk_me-42fc0e65c572ff1cb258ec750a45d34ee5ba0049.zip |
Renaming and moving keymaps around
Diffstat (limited to 'jack/rules.mk')
-rw-r--r-- | jack/rules.mk | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/jack/rules.mk b/jack/rules.mk new file mode 100644 index 0000000..f75ba4d --- /dev/null +++ b/jack/rules.mk @@ -0,0 +1,50 @@ +LTO_ENABLE = yes +TOP_SYMBOLS = yes +NRKO_ENABLE = yes +COMBO_ENABLE = yes +MAGIC_ENABLE = no +UNICODE_COMMON = yes +EXTRAKEY_ENABLE = yes +BOOTMAGIC_ENABLE = yes +CAPS_WORD_ENABLE = yes +TAP_DANCE_ENABLE = yes +AUTOCORRECT_ENABLE = yes +MOUSE_JIGGLE_ENABLE = yes +DEBOUNCE_TYPE = asym_eager_defer_pk +AVR_CFLAGS += -mrelax +INTROSPECTION_KEYMAP_C = jack.c + +SRC += 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) + UNICODE_ENABLE = no + SRC += unicode.c +endif + +ifeq ($(PLATFORM), CHIBIOS) + RANDWORD = yes + EXTRAFLAGS += -Os +endif + +ifneq ($(findstring Gentoo, $(shell arm-none-eabi-gcc --version)),) + EXTRAFLAGS += -U_FORTIFY_SOURCE +endif + +ifeq ($(strip $(RANDWORD)), yes) + OPT_DEFS += -DRANDWORD +endif + +ifeq ($(strip $(MOUSE_JIGGLE_ENABLE)), yes) + OPT_DEFS += -DMOUSE_JIGGLE_ENABLE + MOUSEKEY_ENABLE = yes + DEFERRED_EXEC_ENABLE = yes +endif |