22 lines
344 B
Makefile
22 lines
344 B
Makefile
OPT_DEFS += -DHOST_PJRC
|
|
|
|
SRC = usb_keyboard.c \
|
|
usb_debug.c \
|
|
usb.c \
|
|
jump_bootloader.c
|
|
SRC += $(TARGET_SRC)
|
|
|
|
|
|
# C source file search path
|
|
VPATH = $(TARGET_DIR):$(COMMON_DIR):$(COMMON_DIR)/pjrc
|
|
|
|
|
|
# Option modules
|
|
ifdef $(or MOUSEKEY_ENABLE, PS2_MOUSE_ENABLE)
|
|
SRC += usb_mouse.c
|
|
endif
|
|
|
|
ifdef USB_EXTRA_ENABLE
|
|
SRC += usb_extra.c
|
|
endif
|