X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=keyboard%2Fmbed_onekey%2FMakefile;h=c755806f58290249909e9e739b0386a2ebd52818;hb=d4bdb86161948e33c28e97d002289663e53354f7;hp=1bc91bc7e7d77be2fcaef4c967e6d5c2571dbcac;hpb=c67ae2a6b546c822759352586c14cd9dccbbe0ff;p=max%2Ftmk_keyboard.git diff --git a/keyboard/mbed_onekey/Makefile b/keyboard/mbed_onekey/Makefile index 1bc91bc7..c755806f 100644 --- a/keyboard/mbed_onekey/Makefile +++ b/keyboard/mbed_onekey/Makefile @@ -1,23 +1,17 @@ -# This file was automagically generated by mbed.org. For more information, -# see http://mbed.org/handbook/Exporting-to-GCC-ARM-Embedded +PROJECT = mbed_onekey -PROJECT = USBKeyboard_HelloWorld +TMK_DIR = ../../tmk_core +MBED_DIR = $(TMK_DIR)/tool/mbed/mbed-sdk -TMK_DIR = ../.. -MBED_DIR = ./mbed-sdk - -#VPATH += $(MBED_DIR):$(TMK_DIR) -vpath %.s .:$(MBED_DIR):$(TMK_DIR) -vpath %.c .:$(MBED_DIR):$(TMK_DIR) -vpath %.cpp .:$(MBED_DIR):$(TMK_DIR) +VPATH += $(TMK_DIR):$(MBED_DIR) OBJDIR = ./build OBJECTS = \ - $(OBJDIR)/./HIDKeyboard.o \ - $(OBJDIR)/./mbed_driver.o \ $(OBJDIR)/./main.o +CONFIG_H = config.h + SYS_OBJECTS = INCLUDE_PATHS = -I. @@ -25,6 +19,13 @@ INCLUDE_PATHS = -I. LIBRARY_PATHS = LIBRARIES = -include mbed.mk -include common.mk -include gcc.mk +# Build Options +# Comment out to disable +#BOOTMAGIC_ENABLE = yes +#MOUSEKEY_ENABLE = yes + + +include $(TMK_DIR)/tool/mbed/common.mk +include $(TMK_DIR)/tool/mbed/lpc11u35_501.mk +include $(TMK_DIR)/tool/mbed/mbed.mk +include $(TMK_DIR)/tool/mbed/gcc.mk