3 # Directory common source files exist
6 TMK_PATH = $(TOP_DIR)/$(TMK_DIR)
7 LIB_PATH = $(TOP_DIR)/lib
10 QUANTUM_PATH = $(TOP_DIR)/$(QUANTUM_DIR)
12 BUILD_DIR := $(TOP_DIR)/.build
14 SERIAL_DIR := $(QUANTUM_DIR)/serial_link
15 SERIAL_PATH := $(QUANTUM_PATH)/serial_link
16 SERIAL_SRC := $(wildcard $(SERIAL_PATH)/protocol/*.c)
17 SERIAL_SRC += $(wildcard $(SERIAL_PATH)/system/*.c)
18 SERIAL_DEFS += -DSERIAL_LINK_ENABLE
20 COMMON_VPATH := $(TOP_DIR)
21 COMMON_VPATH += $(TMK_PATH)
22 COMMON_VPATH += $(QUANTUM_PATH)
23 COMMON_VPATH += $(QUANTUM_PATH)/keymap_extras
24 COMMON_VPATH += $(QUANTUM_PATH)/audio
25 COMMON_VPATH += $(QUANTUM_PATH)/process_keycode
26 COMMON_VPATH += $(QUANTUM_PATH)/api
27 COMMON_VPATH += $(SERIAL_PATH)