X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=keyboard%2Fmbed_onekey%2FMakefile;h=b9c88fdd31d151be7ea950578f202713c1934165;hb=c61210cfff21f88c25ad102dcd3afe58ce251c96;hp=e194052c1091c849330aa55bd70b4ee12465c54c;hpb=f15b2691c92e1d9b3c0e59363c803ec540303f37;p=max%2Ftmk_keyboard.git diff --git a/keyboard/mbed_onekey/Makefile b/keyboard/mbed_onekey/Makefile index e194052c..b9c88fdd 100644 --- a/keyboard/mbed_onekey/Makefile +++ b/keyboard/mbed_onekey/Makefile @@ -1,10 +1,7 @@ -# 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 = ../.. -MBED_DIR = ./mbed-sdk +TMK_DIR = ../../tmk_core +MBED_DIR = $(TMK_DIR)/mbed-sdk #VPATH += $(MBED_DIR):$(TMK_DIR) vpath %.s .:$(MBED_DIR):$(TMK_DIR) @@ -14,9 +11,10 @@ vpath %.cpp .:$(MBED_DIR):$(TMK_DIR) OBJDIR = ./build OBJECTS = \ - $(OBJDIR)/./HIDKeyboard.o \ $(OBJDIR)/./main.o +CONFIG_H = config.h + SYS_OBJECTS = INCLUDE_PATHS = -I. @@ -24,6 +22,12 @@ 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/mbed.mk +include $(TMK_DIR)/tool/mbed/common.mk +include $(TMK_DIR)/tool/mbed/gcc.mk