]> git.donarmstrong.com Git - tmk_firmware.git/blobdiff - ps2_usb/Makefile.vusb
Fixed Makefile to adjust new directories.
[tmk_firmware.git] / ps2_usb / Makefile.vusb
index 6e49fc44ddd4248716b988a6407666984a9208c9..d85f1d55d50e5d191e51262c87e47077de49fe72 100644 (file)
@@ -1,18 +1,23 @@
+#
+# Makefile for V-USB
+#
+
+
 # Target file name (without extension).
-TARGET = ps2_vusb
+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
 
@@ -43,8 +48,9 @@ F_CPU = 20000000
 #   comment out to disable the options.
 #
 MOUSEKEY_ENABLE = yes  # Mouse keys
-#USB_EXTRA_ENABLE = yes        # Enhanced feature for Windows(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
 
 
 
@@ -80,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