X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=Makefile.pjrc;h=894d4dcee3c0eca980b29e9524c1cfdcfc983508;hb=13e4662baee972a6df340bfabe5fcb8aa00646e3;hp=4c0e835041aa13875d62643e9ad6e42c31d2b891;hpb=acc974c64b1e17e6807133fdc50de5bb34aedda5;p=max%2Ftmk_keyboard.git diff --git a/Makefile.pjrc b/Makefile.pjrc index 4c0e8350..894d4dce 100644 --- a/Makefile.pjrc +++ b/Makefile.pjrc @@ -1,19 +1,16 @@ -# Following variables need to be set in /Makefile: -# TARGET -# COMMON_DIR -# TARGET_DIR -# TARGET_SRC -# MCU -# F_CPU +OPT_DEFS += -DHOST_PJRC - -# List C source files here. (C dependencies are automatically generated.) 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 @@ -22,7 +19,3 @@ endif ifdef USB_EXTRA_ENABLE SRC += usb_extra.c endif - - -# C source file search path -VPATH = $(TARGET_DIR):$(COMMON_DIR):$(COMMON_DIR)/pjrc