mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-25 01:47:10 +06:00
35 lines
643 B
Makefile
35 lines
643 B
Makefile
SRC += brandonschlack.c \
|
|
process_records.c
|
|
|
|
SPACE_CADET_ENABLE = no
|
|
|
|
# Use LTO except for ChibiOS
|
|
ifneq ($(PLATFORM),CHIBIOS)
|
|
LTO_ENABLE = yes
|
|
endif
|
|
|
|
ifeq ($(strip $(IS_MACROPAD)), yes)
|
|
OPT_DEFS += -DIS_MACROPAD
|
|
endif
|
|
|
|
ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
|
|
SRC += rgb_bs.c
|
|
endif
|
|
|
|
RGB_MATRIX_ENABLE ?= no
|
|
ifneq ($(strip $(RGB_MATRIX_ENABLE)), no)
|
|
SRC += rgb_bs.c
|
|
endif
|
|
|
|
ifeq ($(strip $(TAP_DANCE_ENABLE)), yes)
|
|
SRC += tap_dances.c
|
|
endif
|
|
|
|
ifeq ($(strip $(FLASH_BOOTLOADER)), yes)
|
|
OPT_DEFS += -DFLASH_BOOTLOADER
|
|
endif
|
|
|
|
ifneq ($(FORCE_LAYOUT),)
|
|
OPT_DEFS += -DFORCE_LAYOUT=\"$(FORCE_LAYOUT)\"
|
|
endif
|