]> git.donarmstrong.com Git - qmk_firmware.git/blob - common.mk
replacing one R for a T
[qmk_firmware.git] / common.mk
1 include message.mk
2
3 # Directory common source files exist
4 TOP_DIR = .
5 TMK_DIR = tmk_core
6 TMK_PATH = $(TOP_DIR)/$(TMK_DIR)
7 LIB_PATH = $(TOP_DIR)/lib
8
9 QUANTUM_DIR = quantum
10 QUANTUM_PATH = $(TOP_DIR)/$(QUANTUM_DIR)
11
12 BUILD_DIR := $(TOP_DIR)/.build
13
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
19
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)