summaryrefslogtreecommitdiffstats
path: root/users/bocaj/rules.mk
blob: 9ed8c250a3066dc537a06860c423af6ff25f9cac (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
31
32
33
SRC += bocaj.c \
       process_records.c

ifneq ("$(wildcard $(USER_PATH)/secrets.c)","")
  SRC += secrets.c
endif

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

# Caused problems when building via docker on Mac OS
# EXTRAFLAGS += -flto

ifeq ($(strip $(NO_SECRETS)), yes)
    OPT_DEFS += -DNO_SECRETS
endif

ifeq ($(strip $(MACROS_ENABLED)), yes)
    OPT_DEFS += -DMACROS_ENABLED
endif

ifeq ($(strip $(UCIS_ENABLE)), yes)
  SRC += send_unicode.c
endif

ifeq ($(strip $(UNICODEMAP_ENABLE)), yes)
  SRC += send_unicode.c
endif

ifeq ($(strip $(UNICODE_ENABLE)), yes)
  SRC += send_unicode.c
endif