diff options
author | cbbrowne <cbbrowne@cbbrowne.tor.int-afilias.info> | 2016-08-29 12:32:03 -0400 |
---|---|---|
committer | cbbrowne <cbbrowne@cbbrowne.tor.int-afilias.info> | 2016-08-29 12:32:03 -0400 |
commit | fba509780e70b20da998cf6caada228682965c5e (patch) | |
tree | df21a76cdf5f9225fcae68abb0d72252fbd37e5d /common.mk | |
parent | a732003bfd1a780be0728cdacda71c0b3d8b59b3 (diff) | |
parent | 6d1e916851daa7bcbd8ef31b6fbc73cb369ef1f0 (diff) |
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/common.mk b/common.mk new file mode 100644 index 0000000000..18751cd5ac --- /dev/null +++ b/common.mk @@ -0,0 +1,26 @@ +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) + +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 + +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 +COMMON_VPATH += $(SERIAL_PATH)
\ No newline at end of file |