keychron_qmk_firmware/users/xulkal/rules.mk
XScorpion2 957070a6b5 Added OLED Display autoscroll during periods of OLED data inactivity (#6546)
* Added OLED Display autoscroll during periods of OLED data inactivity.

* Fixing compile errors

* Feedback from review
2019-08-25 12:37:55 -07:00

33 lines
717 B
Makefile

SRC += xulkal.c \
process_records.c \
custom_tap_dance.c
# Some usual defaults
MOUSEKEY_ENABLE = no # Mouse keys (+4700)
EXTRAKEY_ENABLE = yes # Audio control and System control (+450)
TAP_DANCE_ENABLE = yes
ifneq ($(strip $(DISABLE_LTO)), yes)
EXTRAFLAGS += -flto
OPT_DEFS += -DNO_ACTION_MACRO
OPT_DEFS += -DNO_ACTION_FUNCTION
endif
ifeq ($(strip $(ENCODER_ENABLE)), yes)
SRC += custom_encoder.c
endif
ifneq ($(strip $(RGB_MATRIX_ENABLE)), no)
OPT_DEFS += -DRGB_ENABLE
SRC += custom_rgb.c
endif
ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
OPT_DEFS += -DRGB_ENABLE
SRC += custom_rgb.c
endif
ifeq ($(strip $(OLED_DRIVER_ENABLE)), yes)
SRC += custom_oled.c
endif