]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - keyboard/onekey/Makefile.pjrc
core: Clean up code of Locking key support
[max/tmk_keyboard.git] / keyboard / onekey / Makefile.pjrc
index 24ade3350593ebc4ef3ceff55f0424198032e878..1266d7faea7404373091b9e66ef17fb04edb1eac 100644 (file)
 TARGET = onekey_pjrc
 
 # Directory common source filess exist
-TOP_DIR = ../..
+TMK_DIR = ../../tmk_core
 
 # Directory keyboard dependent files exist
 TARGET_DIR = .
 
 # project specific files
 SRC =  keymap.c \
-       matrix.c \
+       onekey.c \
        led.c
 
 CONFIG_H = config.h
@@ -95,9 +95,9 @@ PS2_USE_BUSYWAIT = yes # uses primitive reference code
 
 # Search Path
 VPATH += $(TARGET_DIR)
-VPATH += $(TOP_DIR)
+VPATH += $(TMK_DIR)
 
-include $(TOP_DIR)/common.mk
-include $(TOP_DIR)/protocol.mk
-include $(TOP_DIR)/protocol/pjrc.mk
-include $(TOP_DIR)/rules.mk
+include $(TMK_DIR)/common.mk
+include $(TMK_DIR)/protocol.mk
+include $(TMK_DIR)/protocol/pjrc.mk
+include $(TMK_DIR)/rules.mk