]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - keyboard/mbed_onekey/Makefile
core: Clean up code of Locking key support
[max/tmk_keyboard.git] / keyboard / mbed_onekey / Makefile
index 2f7399ba02f23d491300e31fee6ba0084189881a..c755806f58290249909e9e739b0386a2ebd52818 100644 (file)
@@ -1,12 +1,9 @@
 PROJECT = mbed_onekey
 
-TMK_DIR = ../..
-MBED_DIR = $(TMK_DIR)/mbed-sdk
+TMK_DIR = ../../tmk_core
+MBED_DIR = $(TMK_DIR)/tool/mbed/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
 
@@ -25,9 +22,10 @@ LIBRARIES =
 # Build Options
 #   Comment out to disable
 #BOOTMAGIC_ENABLE = yes
-MOUSEKEY_ENABLE = yes
+#MOUSEKEY_ENABLE = yes
 
 
-include $(TMK_DIR)/tool/mbed/mbed.mk
 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