~ruther/qmk_firmware

ref: c49438feec9fb6be368d6377ca05d0c86d310d4f qmk_firmware/users/pcoves/rules.mk -rw-r--r-- 581 bytes
c49438fe — Brandon Claveria [Keyboard] Digicarp65 (#15926) 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
SRC += pcoves.c

RAINBOW_UNICORN_ENABLE ?= no
ifneq ($(strip $(RAINBOW_UNICORN_ENABLE)), no)
	SRC += rainbowUnicorn.c
	OPT_DEFS += -DRAINBOW_UNICORN_ENABLE
endif

ifeq ($(strip $(TAP_DANCE_ENABLE)), yes)
    SRC += tapDance.c
endif

ifeq ($(strip $(COMBO_ENABLE)), yes)
    SRC += combo.c
endif

ifeq ($(strip $(UNICODE_ENABLE)), yes)
    SRC += unicode.c
	OPT_DEFS += -DUNICODE_ENABLE
endif

ifneq ($(strip $(NO_SECRET)), yes)
    ifneq ("$(wildcard $(USER_PATH)/secret.c)","")
        SRC += secret.c
	else
		OPT_DEFS += -DNO_SECRET
    endif
else
	OPT_DEFS += -DNO_SECRET
endif