qmk-dactyl-manuform-a/users/xulkal/rules.mk

34 lines
737 B
Makefile
Raw Normal View History

2019-03-01 04:20:26 +01:00
SRC += xulkal.c \
process_records.c \
custom_tap_dance.c \
timer_utils.c
2019-03-01 04:20:26 +01:00
# Some usual defaults
MOUSEKEY_ENABLE = no # Mouse keys (+4700)
EXTRAKEY_ENABLE = yes # Audio control and System control (+450)
2019-06-06 01:14:35 +02:00
TAP_DANCE_ENABLE = yes
2019-03-01 04:20:26 +01:00
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