22 lines
308 B
Makefile

OPT_DEFS += -DHOST_PJRC
SRC += pjrc.c \
usb_keyboard.c \
usb_debug.c \
usb.c \
bootloader_teensy.c
# Search Path
VPATH += $(COMMON_DIR):$(COMMON_DIR)/pjrc
# Option modules
ifdef $(or MOUSEKEY_ENABLE, PS2_MOUSE_ENABLE)
SRC += usb_mouse.c
endif
ifdef EXTRAKEY_ENABLE
SRC += usb_extra.c
endif