X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=keyboard%2Fmbed_onekey%2FMakefile;h=c755806f58290249909e9e739b0386a2ebd52818;hb=4b44e106b38f7c4143c51ad4f0b0331a96925537;hp=e194052c1091c849330aa55bd70b4ee12465c54c;hpb=f15b2691c92e1d9b3c0e59363c803ec540303f37;p=max%2Ftmk_keyboard.git diff --git a/keyboard/mbed_onekey/Makefile b/keyboard/mbed_onekey/Makefile index e194052c..c755806f 100644 --- a/keyboard/mbed_onekey/Makefile +++ b/keyboard/mbed_onekey/Makefile @@ -1,22 +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)/./main.o +CONFIG_H = config.h + SYS_OBJECTS = INCLUDE_PATHS = -I. @@ -24,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