diff options
author | tmk <nobody@nowhere> | 2012-06-30 14:56:24 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2012-06-30 14:56:24 +0900 |
commit | fca518f90dfc7f72132ff7950b000cfbd5709807 (patch) | |
tree | 1c61e7b91f1f4986232a1fdca421b3346f8a9431 /common.mk | |
parent | 76033dcd892a115240c5a990e5643cd53acbca87 (diff) | |
parent | 2769f09d11a4c45362f2e6137f2469d057d8757e (diff) |
Merge branch 'lufa'
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 23 |
1 files changed, 12 insertions, 11 deletions
@@ -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 |