2014-06-17 23:22:59 +06:00
|
|
|
PROJECT = mbed_onekey
|
2014-06-15 10:56:17 +06:00
|
|
|
|
2015-04-09 22:53:24 +06:00
|
|
|
TMK_DIR = ../../tmk_core
|
2014-06-19 13:13:35 +06:00
|
|
|
MBED_DIR = $(TMK_DIR)/mbed-sdk
|
2014-06-15 10:56:17 +06:00
|
|
|
|
|
|
|
#VPATH += $(MBED_DIR):$(TMK_DIR)
|
|
|
|
vpath %.s .:$(MBED_DIR):$(TMK_DIR)
|
|
|
|
vpath %.c .:$(MBED_DIR):$(TMK_DIR)
|
|
|
|
vpath %.cpp .:$(MBED_DIR):$(TMK_DIR)
|
|
|
|
|
|
|
|
OBJDIR = ./build
|
|
|
|
|
|
|
|
OBJECTS = \
|
|
|
|
$(OBJDIR)/./main.o
|
|
|
|
|
2014-06-17 19:41:14 +06:00
|
|
|
CONFIG_H = config.h
|
|
|
|
|
2014-06-15 10:56:17 +06:00
|
|
|
SYS_OBJECTS =
|
|
|
|
|
|
|
|
INCLUDE_PATHS = -I.
|
|
|
|
|
|
|
|
LIBRARY_PATHS =
|
|
|
|
LIBRARIES =
|
|
|
|
|
2014-06-17 19:41:14 +06:00
|
|
|
# Build Options
|
|
|
|
# Comment out to disable
|
|
|
|
#BOOTMAGIC_ENABLE = yes
|
2014-07-19 23:24:34 +06:00
|
|
|
#MOUSEKEY_ENABLE = yes
|
2014-06-17 19:41:14 +06:00
|
|
|
|
|
|
|
|
2014-06-17 23:22:59 +06:00
|
|
|
include $(TMK_DIR)/tool/mbed/mbed.mk
|
|
|
|
include $(TMK_DIR)/tool/mbed/common.mk
|
|
|
|
include $(TMK_DIR)/tool/mbed/gcc.mk
|