summaryrefslogtreecommitdiffhomepage
path: root/digital/avr/modules/usb/Makefile.module
blob: 7526dfe0a2f2ce0a6a5ed68a637e95685af686cf (plain)
1
2
3
4
5
6
7
8
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 -fgnu89-inline -fpack-struct -fshort-enums \
	  -ffunction-sections
CPPFLAGS += -I$(BASE)/modules/usb/lufa
LDFLAGS += -Wl,--relax -Wl,--gc-sections