]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
Fix: Makefile
authortmk <nobody@nowhere>
Wed, 12 Sep 2012 05:03:20 +0000 (14:03 +0900)
committertmk <nobody@nowhere>
Wed, 17 Oct 2012 06:53:20 +0000 (15:53 +0900)
keyboard/hhkb/Makefile.vusb
keyboard/macway/Makefile.lufa

index 6dd6288077657e16083b91f8052ebf9f6954901a..8caf234971ea9bb14856c7903f964d88a495339a 100644 (file)
@@ -13,7 +13,7 @@ TOP_DIR = ../..
 TARGET_DIR = .
 
 # keyboard dependent files
-SRC =  main.c \
+SRC =  \
        keymap.c \
        matrix.c \
        led.c
@@ -83,9 +83,9 @@ PROGRAM_CMD = $(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE
 
 
 # Search Path
-VPATH = $(TARGET_DIR)
+VPATH  = $(TARGET_DIR)
+VPATH += $(TOP_DIR)
 
 include $(TOP_DIR)/protocol/vusb.mk
-include $(TOP_DIR)/protocol.mk
 include $(TOP_DIR)/common.mk
 include $(TOP_DIR)/rules.mk
index 9c9388ee200803813e6f757a317814ecf0e1f159..1f365da112c64987ea057f35a07087b15f16466f 100644 (file)
@@ -99,6 +99,7 @@ F_USB = $(F_CPU)
 #
 MOUSEKEY_ENABLE = yes  # Mouse keys
 EXTRAKEY_ENABLE = yes  # Audio control and System control
+CONSOLE_ENABLE = yes   # Console for debug
 #NKRO_ENABLE = yes     # USB Nkey Rollover
 #PS2_MOUSE_ENABLE = yes        # PS/2 mouse(TrackPoint) support