Merge commit '60b30c0363
' as 'lib/lufa'
This commit is contained in:
commit
8655d4f494
1455 changed files with 394541 additions and 0 deletions
21
lib/lufa/Bootloaders/HID/HostLoaderApp/Makefile.bsd
Normal file
21
lib/lufa/Bootloaders/HID/HostLoaderApp/Makefile.bsd
Normal file
|
@ -0,0 +1,21 @@
|
|||
OS ?= FreeBSD
|
||||
#OS ?= NetBSD
|
||||
#OS ?= OpenBSD
|
||||
|
||||
CFLAGS ?= -O2 -Wall
|
||||
CC ?= gcc
|
||||
|
||||
.if $(OS) == "FreeBSD"
|
||||
CFLAGS += -DUSE_LIBUSB
|
||||
LIBS = -lusb
|
||||
.elif $(OS) == "NetBSD" || $(OS) == "OpenBSD"
|
||||
CFLAGS += -DUSE_UHID
|
||||
LIBS =
|
||||
.endif
|
||||
|
||||
|
||||
hid_bootloader_cli: hid_bootloader_cli.c
|
||||
$(CC) $(CFLAGS) -s -o hid_bootloader_cli hid_bootloader_cli.c $(LIBS)
|
||||
|
||||
clean:
|
||||
rm -f hid_bootloader_cli
|
Loading…
Add table
Add a link
Reference in a new issue