aboutsummaryrefslogtreecommitdiff
path: root/paths.mk
diff options
context:
space:
mode:
Diffstat (limited to 'paths.mk')
-rw-r--r--paths.mk31
1 files changed, 31 insertions, 0 deletions
diff --git a/paths.mk b/paths.mk
new file mode 100644
index 000000000..5a39d00ec
--- /dev/null
+++ b/paths.mk
@@ -0,0 +1,31 @@
1# Directory common source files exist
2TOP_DIR = .
3TMK_DIR = tmk_core
4TMK_PATH = $(TMK_DIR)
5LIB_PATH = lib
6
7QUANTUM_DIR = quantum
8QUANTUM_PATH = $(QUANTUM_DIR)
9
10DRIVER_DIR = drivers
11DRIVER_PATH = $(DRIVER_DIR)
12
13PLATFORM_DIR = platforms
14PLATFORM_PATH = $(PLATFORM_DIR)
15
16PROTOCOL_DIR = protocol
17PROTOCOL_PATH = $(TMK_DIR)/$(PROTOCOL_DIR)
18
19BUILDDEFS_DIR = builddefs
20BUILDDEFS_PATH = $(BUILDDEFS_DIR)
21
22BUILD_DIR := .build
23
24COMMON_VPATH := $(TOP_DIR)
25COMMON_VPATH += $(TMK_PATH)
26COMMON_VPATH += $(QUANTUM_PATH)
27COMMON_VPATH += $(QUANTUM_PATH)/keymap_extras
28COMMON_VPATH += $(QUANTUM_PATH)/audio
29COMMON_VPATH += $(QUANTUM_PATH)/process_keycode
30COMMON_VPATH += $(QUANTUM_PATH)/sequencer
31COMMON_VPATH += $(DRIVER_PATH)