diff options
Diffstat (limited to 'users/pcoves/rules.mk')
| -rw-r--r-- | users/pcoves/rules.mk | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/users/pcoves/rules.mk b/users/pcoves/rules.mk new file mode 100644 index 000000000..400497b15 --- /dev/null +++ b/users/pcoves/rules.mk | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | SRC += pcoves.c | ||
| 2 | |||
| 3 | RAINBOW_UNICORN_ENABLE ?= no | ||
| 4 | ifneq ($(strip $(RAINBOW_UNICORN_ENABLE)), no) | ||
| 5 | SRC += rainbowUnicorn.c | ||
| 6 | OPT_DEFS += -DRAINBOW_UNICORN_ENABLE | ||
| 7 | endif | ||
| 8 | |||
| 9 | ifeq ($(strip $(TAP_DANCE_ENABLE)), yes) | ||
| 10 | SRC += tapDance.c | ||
| 11 | endif | ||
| 12 | |||
| 13 | ifeq ($(strip $(COMBO_ENABLE)), yes) | ||
| 14 | SRC += combo.c | ||
| 15 | endif | ||
| 16 | |||
| 17 | ifeq ($(strip $(UNICODE_ENABLE)), yes) | ||
| 18 | SRC += unicode.c | ||
| 19 | OPT_DEFS += -DUNICODE_ENABLE | ||
| 20 | endif | ||
| 21 | |||
| 22 | ifneq ($(strip $(NO_SECRET)), yes) | ||
| 23 | ifneq ("$(wildcard $(USER_PATH)/secret.c)","") | ||
| 24 | SRC += secret.c | ||
| 25 | else | ||
| 26 | OPT_DEFS += -DNO_SECRET | ||
| 27 | endif | ||
| 28 | else | ||
| 29 | OPT_DEFS += -DNO_SECRET | ||
| 30 | endif | ||
