diff options
Diffstat (limited to 'paths.mk')
-rw-r--r-- | paths.mk | 31 |
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 | ||
2 | TOP_DIR = . | ||
3 | TMK_DIR = tmk_core | ||
4 | TMK_PATH = $(TMK_DIR) | ||
5 | LIB_PATH = lib | ||
6 | |||
7 | QUANTUM_DIR = quantum | ||
8 | QUANTUM_PATH = $(QUANTUM_DIR) | ||
9 | |||
10 | DRIVER_DIR = drivers | ||
11 | DRIVER_PATH = $(DRIVER_DIR) | ||
12 | |||
13 | PLATFORM_DIR = platforms | ||
14 | PLATFORM_PATH = $(PLATFORM_DIR) | ||
15 | |||
16 | PROTOCOL_DIR = protocol | ||
17 | PROTOCOL_PATH = $(TMK_DIR)/$(PROTOCOL_DIR) | ||
18 | |||
19 | BUILDDEFS_DIR = builddefs | ||
20 | BUILDDEFS_PATH = $(BUILDDEFS_DIR) | ||
21 | |||
22 | BUILD_DIR := .build | ||
23 | |||
24 | COMMON_VPATH := $(TOP_DIR) | ||
25 | COMMON_VPATH += $(TMK_PATH) | ||
26 | COMMON_VPATH += $(QUANTUM_PATH) | ||
27 | COMMON_VPATH += $(QUANTUM_PATH)/keymap_extras | ||
28 | COMMON_VPATH += $(QUANTUM_PATH)/audio | ||
29 | COMMON_VPATH += $(QUANTUM_PATH)/process_keycode | ||
30 | COMMON_VPATH += $(QUANTUM_PATH)/sequencer | ||
31 | COMMON_VPATH += $(DRIVER_PATH) | ||