summaryrefslogtreecommitdiffstats
path: root/Makefile.pjrc
blob: 894d4dcee3c0eca980b29e9524c1cfdcfc983508 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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