]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - keyboard/lightsaber/Makefile.lufa
Merge branch 'report_descriptor_fix'
[max/tmk_keyboard.git] / keyboard / lightsaber / Makefile.lufa
index 6982b51f70541d3090aaf4625051f2df4a3a7519..99090c436785539b17669beebde55953486d283c 100644 (file)
 TARGET = lightsaber_lufa
 
 # Directory common source filess exist
-TOP_DIR = ../..
+TMK_DIR = ../../tmk_core
 
 # Directory keyboard dependent files exist
 TARGET_DIR = .
 
 
 # List C source files here. (C dependencies are automatically generated.)
-SRC += keymap.c \
+SRC =  keymap.c \
+       matrix.c \
        led.c \
-       matrix.c 
+       backlight.c
 
 CONFIG_H = config.h
 
@@ -103,7 +104,7 @@ CONSOLE_ENABLE = yes        # Console for debug(+400)
 COMMAND_ENABLE = yes    # Commands for debug and configuration
 #SLEEP_LED_ENABLE = yes  # Breathing sleep LED during USB suspend
 #NKRO_ENABLE = yes     # USB Nkey Rollover - not yet supported in LUFA
-#BACKLIGHT_ENABLE = yes  # Enable keyboard backlight functionality
+BACKLIGHT_ENABLE = yes  # Enable keyboard backlight functionality
 
 
 # Boot Section Size in bytes
@@ -115,11 +116,11 @@ OPT_DEFS += -DBOOTLOADER_SIZE=4096
 
 # Search Path
 VPATH += $(TARGET_DIR)
-VPATH += $(TOP_DIR)
+VPATH += $(TMK_DIR)
 
-include $(TOP_DIR)/protocol/lufa.mk
-include $(TOP_DIR)/common.mk
-include $(TOP_DIR)/rules.mk
+include $(TMK_DIR)/protocol/lufa.mk
+include $(TMK_DIR)/common.mk
+include $(TMK_DIR)/rules.mk
 
 winkey: OPT_DEFS += -DLAYOUT_WINKEY
 winkey: all