56 lines
1.2 KiB
Makefile
Executable File
56 lines
1.2 KiB
Makefile
Executable File
SRC += sadekbaroudi.c \
|
|
process_records.c
|
|
|
|
COMMAND_ENABLE = no # Commands for debug and configuration
|
|
CONSOLE_ENABLE = no # Console for debug
|
|
UNICODE_ENABLE = no # Unicode
|
|
SWAP_HANDS_ENABLE= no # Allow swapping hands of keyboard
|
|
MOUSEKEY_ENABLE = yes
|
|
BACKLIGHT_ENABLE = no
|
|
NKRO_ENABLE = no
|
|
RAW_ENABLE = yes
|
|
CASEMODES_ENABLE = yes
|
|
|
|
# UNCOMMENT TO DISABLE MACROS
|
|
# EXTRAFLAGS += -flto
|
|
# UNCOMMENT TO DISABLE MACROS
|
|
|
|
SPACE_CADET_ENABLE = no
|
|
GRAVE_ESC_ENABLE = no
|
|
|
|
ifneq ($(strip $(NO_SECRETS)), yes)
|
|
ifneq ("$(wildcard $(USER_PATH)/secrets.c)","")
|
|
SRC += secrets.c
|
|
endif
|
|
ifeq ($(strip $(NO_SECRETS)), lite)
|
|
OPT_DEFS += -DNO_SECRETS
|
|
endif
|
|
endif
|
|
|
|
ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
|
|
SRC += rgb_stuff.c
|
|
ifeq ($(strip $(RGBLIGHT_NOEEPROM)), yes)
|
|
OPT_DEFS += -DRGBLIGHT_NOEEPROM
|
|
endif
|
|
endif
|
|
|
|
RGB_MATRIX_ENABLE ?= no
|
|
ifneq ($(strip $(RGB_MATRIX_ENABLE)), no)
|
|
SRC += rgb_matrix_stuff.c
|
|
endif
|
|
|
|
|
|
ifdef CONSOLE_ENABLE
|
|
ifeq ($(strip $(KEYLOGGER_ENABLE)), yes)
|
|
OPT_DEFS += -DKEYLOGGER_ENABLE
|
|
endif
|
|
endif
|
|
|
|
ifeq ($(strip $(RAW_ENABLE)), yes)
|
|
SRC += hid.c
|
|
endif
|
|
|
|
ifeq ($(strip $(CASEMODES_ENABLE)), yes)
|
|
SRC += casemodes.c
|
|
endif
|