summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2012-06-28 23:05:21 +0900
committertmk <nobody@nowhere>2012-06-28 23:05:21 +0900
commitcc68adeb5744cba9e8650bab04ff0f0a4033db9f (patch)
treee853b1e6e48cf61b7763615a7259765a2095b621 /common.mk
parent3d81d5221eac9ca9620ba9043a250dcb8371b22e (diff)
Add protocol/lufa. LUFA supported now.
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk23
1 files changed, 12 insertions, 11 deletions
diff --git a/common.mk b/common.mk
index d0e04df862..9bf34f2b8e 100644
--- a/common.mk
+++ b/common.mk
@@ -1,22 +1,23 @@
-SRC += host.c \
- keyboard.c \
- command.c \
- layer.c \
- timer.c \
- print.c \
- bootloader.c \
- util.c
+COMMON_DIR = common
+SRC += $(COMMON_DIR)/host.c \
+ $(COMMON_DIR)/keyboard.c \
+ $(COMMON_DIR)/command.c \
+ $(COMMON_DIR)/layer.c \
+ $(COMMON_DIR)/timer.c \
+ $(COMMON_DIR)/print.c \
+ $(COMMON_DIR)/bootloader.c \
+ $(COMMON_DIR)/util.c
# Option modules
ifdef MOUSEKEY_ENABLE
- SRC += mousekey.c
+ SRC += $(COMMON_DIR)/mousekey.c
OPT_DEFS += -DMOUSEKEY_ENABLE
endif
ifdef PS2_MOUSE_ENABLE
- SRC += ps2.c \
- ps2_mouse.c
+ SRC += $(COMMON_DIR)/ps2.c \
+ $(COMMON_DIR)/ps2_mouse.c
OPT_DEFS += -DPS2_MOUSE_ENABLE
endif