2016-08-21 14:14:38 +00:00
|
|
|
include message.mk
|
|
|
|
|
|
|
|
# Directory common source files exist
|
|
|
|
TOP_DIR = .
|
|
|
|
TMK_DIR = tmk_core
|
|
|
|
TMK_PATH = $(TOP_DIR)/$(TMK_DIR)
|
|
|
|
LIB_PATH = $(TOP_DIR)/lib
|
|
|
|
|
|
|
|
QUANTUM_DIR = quantum
|
|
|
|
QUANTUM_PATH = $(TOP_DIR)/$(QUANTUM_DIR)
|
|
|
|
|
2016-08-24 19:23:17 +00:00
|
|
|
BUILD_DIR := $(TOP_DIR)/.build
|
|
|
|
|
|
|
|
SERIAL_DIR := $(QUANTUM_DIR)/serial_link
|
|
|
|
SERIAL_PATH := $(QUANTUM_PATH)/serial_link
|
|
|
|
SERIAL_SRC := $(wildcard $(SERIAL_PATH)/protocol/*.c)
|
|
|
|
SERIAL_SRC += $(wildcard $(SERIAL_PATH)/system/*.c)
|
|
|
|
SERIAL_DEFS += -DSERIAL_LINK_ENABLE
|
|
|
|
|
2016-08-27 10:43:12 +00:00
|
|
|
COMMON_VPATH := $(TOP_DIR)
|
|
|
|
COMMON_VPATH += $(TMK_PATH)
|
|
|
|
COMMON_VPATH += $(QUANTUM_PATH)
|
|
|
|
COMMON_VPATH += $(QUANTUM_PATH)/keymap_extras
|
|
|
|
COMMON_VPATH += $(QUANTUM_PATH)/audio
|
|
|
|
COMMON_VPATH += $(QUANTUM_PATH)/process_keycode
|
2016-11-26 20:37:46 +00:00
|
|
|
COMMON_VPATH += $(QUANTUM_PATH)/api
|
2016-08-27 10:43:12 +00:00
|
|
|
COMMON_VPATH += $(SERIAL_PATH)
|