summaryrefslogtreecommitdiff
path: root/users/pcoves/rules.mk
blob: 400497b151a0523eb3f693208f38283a92b137da (plain)
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