]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - keyboard/gh60/Makefile
Fix build errors (#359)
[qmk_firmware.git] / keyboard / gh60 / Makefile
index 4c8f9dc8ab86a7653607cc32ea10eb7ea395681a..9429049fd9fdf3805e21e676ebfd63f9bc99a666 100644 (file)
 TARGET = gh60_lufa
 
 # Directory common source filess exist
+TOP_DIR = ../..
 TMK_DIR = ../../tmk_core
 
 # Directory keyboard dependent files exist
 TARGET_DIR = .
 
 # project specific files
-SRC =  keymap_common.c \
-       matrix.c \
+SRC =  matrix.c \
        led.c
 
 ifdef KEYMAP
@@ -119,6 +119,7 @@ MOUSEKEY_ENABLE = yes       # Mouse keys(+4700)
 EXTRAKEY_ENABLE = yes  # Audio control and System control(+450)
 CONSOLE_ENABLE = yes   # Console for debug(+400)
 COMMAND_ENABLE = yes    # Commands for debug and configuration
+CUSTOM_MATRIX = yes
 #SLEEP_LED_ENABLE = yes  # Breathing sleep LED during USB suspend
 NKRO_ENABLE = yes      # USB Nkey Rollover - not yet supported in LUFA
 
@@ -128,8 +129,7 @@ NKRO_ENABLE = yes   # USB Nkey Rollover - not yet supported in LUFA
 
 # Search Path
 VPATH += $(TARGET_DIR)
+VPATH += $(TOP_DIR)
 VPATH += $(TMK_DIR)
 
-include $(TMK_DIR)/protocol/lufa.mk
-include $(TMK_DIR)/common.mk
-include $(TMK_DIR)/rules.mk
\ No newline at end of file
+include $(TOP_DIR)/quantum/quantum.mk