diff options
Diffstat (limited to 'users/yet-another-developer/rules.mk')
| -rw-r--r-- | users/yet-another-developer/rules.mk | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/users/yet-another-developer/rules.mk b/users/yet-another-developer/rules.mk new file mode 100644 index 000000000..597df6d0b --- /dev/null +++ b/users/yet-another-developer/rules.mk | |||
| @@ -0,0 +1,50 @@ | |||
| 1 | SRC += yet-another-developer.c \ | ||
| 2 | process_records.c | ||
| 3 | |||
| 4 | LINK_TIME_OPTIMIZATION_ENABLE = yes | ||
| 5 | SPACE_CADET_ENABLE = no | ||
| 6 | |||
| 7 | ifeq ($(strip $(TAP_DANCE_ENABLE)), yes) | ||
| 8 | SRC += tap_dances.c | ||
| 9 | endif | ||
| 10 | |||
| 11 | ifeq ($(strip $(COMBO_ENABLE)), yes) | ||
| 12 | SRC += combo.c | ||
| 13 | endif | ||
| 14 | |||
| 15 | |||
| 16 | ifeq ($(strip $(LEADER_ENABLE)), yes) | ||
| 17 | SRC += leader.c | ||
| 18 | endif | ||
| 19 | |||
| 20 | |||
| 21 | ifneq ("$(wildcard $(USER_PATH)/secrets.c)","") | ||
| 22 | SRC += secrets.c | ||
| 23 | endif | ||
| 24 | |||
| 25 | |||
| 26 | ifeq ($(strip $(NO_SECRETS)), yes) | ||
| 27 | OPT_DEFS += -DNO_SECRETS | ||
| 28 | endif | ||
| 29 | |||
| 30 | |||
| 31 | ifeq ($(strip $(UNICODEMAP_ENABLE)), yes) | ||
| 32 | SRC += unicode.c | ||
| 33 | endif | ||
| 34 | |||
| 35 | |||
| 36 | ifeq ($(strip $(MACROS_ENABLED)), yes) | ||
| 37 | OPT_DEFS += -DMACROS_ENABLED | ||
| 38 | endif | ||
| 39 | |||
| 40 | |||
| 41 | ifdef CONSOLE_ENABLE | ||
| 42 | ifeq ($(strip $(KEYLOGGER_ENABLE)), yes) | ||
| 43 | OPT_DEFS += -DKEYLOGGER_ENABLE | ||
| 44 | endif | ||
| 45 | endif | ||
| 46 | |||
| 47 | |||
| 48 | ifeq ($(strip $(MAKE_BOOTLOADER)), yes) | ||
| 49 | OPT_DEFS += -DMAKE_BOOTLOADER | ||
| 50 | endif | ||
