mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-29 04:39:26 +06:00
28 lines
507 B
Makefile
28 lines
507 B
Makefile
|
|
||
|
|
||
|
ifeq ($(strip $(OLED_DRIVER_ENABLE)), yes)
|
||
|
SRC += oled_setup.c
|
||
|
|
||
|
ifdef OCEAN_DREAM_ENABLE
|
||
|
ifeq ($(strip $(OCEAN_DREAM_ENABLE)), yes)
|
||
|
SRC += ocean_dream.c
|
||
|
OPT_DEFS += -DOCEAN_DREAM_ENABLE
|
||
|
endif
|
||
|
endif
|
||
|
ifndef OCEAN_DREAM_ENABLE
|
||
|
SRC += ocean_dream.c
|
||
|
OPT_DEFS += -DOCEAN_DREAM_ENABLE
|
||
|
endif
|
||
|
|
||
|
ifdef LUNA_ENABLE
|
||
|
ifeq ($(strip $(LUNA_ENABLE)), yes)
|
||
|
SRC += luna.c
|
||
|
OPT_DEFS += -DLUNA_ENABLE
|
||
|
endif
|
||
|
endif
|
||
|
ifndef LUNA_ENABLE
|
||
|
SRC += luna.c
|
||
|
OPT_DEFS += -DLUNA_ENABLE
|
||
|
endif
|
||
|
endif
|