mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-05-18 21:35:31 -04:00
- standardize the documentation in my config files - Removed all the unused/unneeded feature .c/.h files (including RGBmatrix) - now that I think I have my featureset set, I consolidated my rules.mk to lessen the 'include if' commands
52 lines
No EOL
1.3 KiB
Makefile
52 lines
No EOL
1.3 KiB
Makefile
# Set build options for
|
|
# - consistent configuration across all keyboards
|
|
# - enable features specific to certain board (e.g. encoders, rgb, oled)
|
|
# - a way to save memory on MCU
|
|
|
|
# ---------------------------------------------------------
|
|
# set defaults on these qmk features if not defined
|
|
# in the individual keyboard rules.mk
|
|
#
|
|
# ?= means set the value if its not defined elsewhere
|
|
|
|
|
|
|
|
LTO_ENABLE ?= yes
|
|
MAGIC_ENABLE ?= no
|
|
CONSOLE_ENABLE ?= no
|
|
UNICODE_ENABLE ?= no
|
|
SPACE_CADET_ENABLE ?= no
|
|
GRAVE_ESC_ENABLE ?= no
|
|
|
|
DYNAMIC_MACRO_ENABLE ?= yes
|
|
RGB_MATRIX_ENABLE ?= no
|
|
RGBLIGHT_ENABLE ?= no
|
|
POINTING_DEVICE_ENABLE ?= no
|
|
OLED_ENABLE ?= no
|
|
ENCODER_ENABLE ?= no
|
|
ENCODER_MAP_ENABLE ?= no
|
|
|
|
# qmk features we will force
|
|
EXTRAKEY_ENABLE = yes
|
|
AUDIO_ENABLE = no
|
|
CAPS_WORD_ENABLE = yes
|
|
MOUSEKEY_ENABLE = yes
|
|
COMBO_ENABLE = yes
|
|
|
|
# ---------------------------------------------------------
|
|
# include my code that will be common across all my keyboards
|
|
|
|
SRC += \
|
|
t4corun.c \
|
|
features/tapping.c \
|
|
features/taphold.c \
|
|
features/capsword.c \
|
|
|
|
INTROSPECTION_KEYMAP_C += features/combo.c
|
|
|
|
# ---------------------------------------------------------
|
|
# include my code for enabled features for each keyboard
|
|
|
|
ifeq ($(strip $(OLED_ENABLE)), yes)
|
|
SRC += features/oled.c
|
|
endif |