X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=protocol%2Fpjrc.mk;h=5a446138203d48ce439a80f1435d3d017f9b88b1;hb=1f96edaed60def1f513ddd8adcdfa3e12b971006;hp=f5693ba99db7f6d33ee9fe9d44d6004c818b689d;hpb=4d64fd8faa8b1a0ceb9019446ba6915aaf1812ea;p=tmk_firmware.git diff --git a/protocol/pjrc.mk b/protocol/pjrc.mk index f5693ba..5a44613 100644 --- a/protocol/pjrc.mk +++ b/protocol/pjrc.mk @@ -7,7 +7,11 @@ SRC += $(PJRC_DIR)/main.c \ $(PJRC_DIR)/usb.c # Option modules -ifdef $(or MOUSEKEY_ENABLE, PS2_MOUSE_ENABLE) +ifdef MOUSEKEY_ENABLE + SRC += $(PJRC_DIR)/usb_mouse.c +endif + +ifdef PS2_MOUSE_ENABLE SRC += $(PJRC_DIR)/usb_mouse.c endif @@ -19,7 +23,4 @@ endif VPATH += $(TOP_DIR)/$(PJRC_DIR) # This indicates using LUFA stack -# TODO: remove HOST_PJRC -OPT_DEFS += -DHOST_PJRC OPT_DEFS += -DPROTOCOL_PJRC -