PJRC_DIR = protocol/pjrc
-OPT_DEFS += -DHOST_PJRC
-
-SRC += $(PJRC_DIR)/pjrc.c \
+SRC += $(PJRC_DIR)/main.c \
+ $(PJRC_DIR)/pjrc.c \
$(PJRC_DIR)/usb_keyboard.c \
$(PJRC_DIR)/usb_debug.c \
- $(PJRC_DIR)/usb.c \
- $(PJRC_DIR)/bootloader_teensy.c
+ $(PJRC_DIR)/usb.c
# Option modules
ifdef $(or MOUSEKEY_ENABLE, PS2_MOUSE_ENABLE)
# Search Path
VPATH += $(TOP_DIR)/$(PJRC_DIR)
+
+# This indicates using LUFA stack
+OPT_DEFS += -DPROTOCOL_PJRC