]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - ps2_usb/Makefile.vusb
Fixed Makefile to adjust new directories.
[max/tmk_keyboard.git] / ps2_usb / Makefile.vusb
index ff86d7998ad642d1c56f98939aed78185103511d..d85f1d55d50e5d191e51262c87e47077de49fe72 100644 (file)
@@ -7,17 +7,17 @@
 TARGET = ps2_usb_vusb
 
 # Directory common source filess exist
-COMMON_DIR = ..
+TOP_DIR = ..
 
 # Directory keyboard dependent files exist
 TARGET_DIR = .
 
 # keyboard dependent files
-TARGET_SRC =   main_vusb.c \
-               keymap.c \
-               matrix.c \
-               led.c \
-               ps2_usart.c
+SRC =  main.c \
+       keymap.c \
+       matrix.c \
+       led.c \
+       ps2_usart.c
 
 CONFIG_H = config_vusb.h
 
@@ -48,8 +48,9 @@ F_CPU = 20000000
 #   comment out to disable the options.
 #
 MOUSEKEY_ENABLE = yes  # Mouse keys
-USB_EXTRA_ENABLE = yes # Audio control and System control
-#USB_NKRO_ENABLE = yes # USB Nkey Rollover
+EXTRAKEY_ENABLE = yes  # Audio control and System control
+#NKRO_ENABLE = yes     # USB Nkey Rollover
+NO_UART = yes          # UART is unavailable
 
 
 
@@ -85,5 +86,7 @@ PROGRAM_CMD = $(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE
 
 
 
-include $(COMMON_DIR)/Makefile.vusb
-include $(COMMON_DIR)/Makefile.common
+include $(TOP_DIR)/protocol/vusb.mk
+include $(TOP_DIR)/protocol.mk
+include $(TOP_DIR)/common.mk
+include $(TOP_DIR)/rules.mk