summaryrefslogtreecommitdiff
path: root/digital/avr/modules/usb/Makefile.module
blob: 53fc6a1b645fc338d579d258f35dfc1e160a3ca0 (plain)
1
2
3
4
5
6
7
usb_SOURCES = DevChapter9.c Endpoint.c LowLevel.c \
	      Events.c StdDescriptors.c USBInterrupt.c USBTask.c
vpath %.c $(BASE)/modules/usb/lufa/LUFA/Drivers/USB/LowLevel
vpath %.c $(BASE)/modules/usb/lufa/LUFA/Drivers/USB/HighLevel
CFLAGS += -std=gnu99 -fpack-struct -fshort-enums -ffunction-sections
CPPFLAGS += -I$(BASE)/modules/usb/lufa
LDFLAGS += -Wl,--relax -Wl,--gc-sections