]> git.donarmstrong.com Git - tmk_firmware.git/blobdiff - protocol/iwrap.mk
Add serial_uart.c and use it for PC98
[tmk_firmware.git] / protocol / iwrap.mk
index ea4a6e9720eee1df0d9e814561b7eca0a387b4d3..9c83075a4ac0c4d3e9174ccef4d1491fb49a8e4d 100644 (file)
@@ -1,10 +1,12 @@
+IWRAP_DIR = protocol/iwrap
+
 OPT_DEFS += -DHOST_IWRAP
 
-SRC += iwrap.c \
-       suart.S \
-       sendchar_uart.c \
-       uart.c
+SRC += $(IWRAP_DIR)/iwrap.c \
+       $(IWRAP_DIR)/suart.S \
+       $(IWRAP_DIR)/sendchar_uart.c \
+       $(IWRAP_DIR)/uart.c
 
 
 # Search Path
-VPATH += $(COMMON_DIR)/iwrap
+VPATH += $(TOP_DIR)/protocol/iwrap