]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - users/bocaj/rules.mk
Remove more commented out MCUs
[qmk_firmware.git] / users / bocaj / rules.mk
index 17d2772a7c0c17d7c2124044dcbd55638148bc2f..9ed8c250a3066dc537a06860c423af6ff25f9cac 100644 (file)
@@ -1,5 +1,33 @@
-SRC += bocaj.c
+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