summaryrefslogtreecommitdiff
path: root/users/pcoves/rules.mk
diff options
context:
space:
mode:
authorpcoves <33952527+pcoves@users.noreply.github.com>2020-07-08 22:57:11 +0200
committerGitHub <noreply@github.com>2020-07-08 21:57:11 +0100
commitfacca2331519d5d56a926f93f0cdf925fe0857da (patch)
tree575913db2ecb5a78eeb22acabd69825f54d31b0d /users/pcoves/rules.mk
parent071e0c2029e7923cbaa6ff721365b2f61cdd08d8 (diff)
Add pcoves's userspace (#9354)
Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Pablo COVES <pablo.coves@anatoscope.com>
Diffstat (limited to 'users/pcoves/rules.mk')
-rw-r--r--users/pcoves/rules.mk30
1 files changed, 30 insertions, 0 deletions
diff --git a/users/pcoves/rules.mk b/users/pcoves/rules.mk
new file mode 100644
index 0000000000..400497b151
--- /dev/null
+++ b/users/pcoves/rules.mk
@@ -0,0 +1,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