mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-16 17:04:50 +00: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
|