2011-02-12 15:15:51 +00:00
|
|
|
OPT_DEFS += -DHOST_PJRC
|
2011-02-08 15:03:58 +00:00
|
|
|
|
|
|
|
SRC = usb_keyboard.c \
|
|
|
|
usb_debug.c \
|
|
|
|
usb.c \
|
|
|
|
jump_bootloader.c
|
|
|
|
SRC += $(TARGET_SRC)
|
|
|
|
|
2011-02-12 15:15:51 +00:00
|
|
|
|
|
|
|
# C source file search path
|
|
|
|
VPATH = $(TARGET_DIR):$(COMMON_DIR):$(COMMON_DIR)/pjrc
|
|
|
|
|
|
|
|
|
2011-02-08 15:03:58 +00:00
|
|
|
# Option modules
|
|
|
|
ifdef $(or MOUSEKEY_ENABLE, PS2_MOUSE_ENABLE)
|
|
|
|
SRC += usb_mouse.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef USB_EXTRA_ENABLE
|
|
|
|
SRC += usb_extra.c
|
|
|
|
endif
|