Merge pull request #81 from bgould/master
[tmk_keyboard.git] / protocol / bluefruit.mk
1 BLUEFRUIT_DIR = protocol/bluefruit
2 PJRC_DIR = protocol/pjrc
3
4 SRC += $(BLUEFRUIT_DIR)/main.c \
5 $(BLUEFRUIT_DIR)/bluefruit.c \
6 serial_uart.c \
7 $(PJRC_DIR)/pjrc.c \
8 $(PJRC_DIR)/usb_keyboard.c \
9 $(PJRC_DIR)/usb_debug.c \
10 $(PJRC_DIR)/usb.c
11
12 # Option modules
13 ifdef $(or MOUSEKEY_ENABLE, PS2_MOUSE_ENABLE)
14 SRC += $(PJRC_DIR)/usb_mouse.c
15 endif
16
17 ifdef EXTRAKEY_ENABLE
18 SRC += $(PJRC_DIR)/usb_extra.c
19 endif
20
21 # Search Path
22 VPATH += $(TOP_DIR)/$(BLUEFRUIT_DIR)
23 #VPATH += $(TOP_DIR)/$(BLUEFRUIT_DIR)/usb_debug_only
24 VPATH += $(TOP_DIR)/$(PJRC_DIR)
25
26 OPT_DEFS += -DPROTOCOL_BLUEFRUIT
27 OPT_DEFS += -DPROTOCOL_PJRC
Imprint / Impressum