freebsd-dev/share/examples/libusb20/Makefile
Hans Petter Selasky 2578c12e39 - Use libusb20_strerror() function instead of custom usb_error() one.
- Rename "aux.[ch]" to "util.[ch]" which is a more common name for
utility functions and allows checkout on some non-FreeBSD systems
where the "aux.*" namespace is reserved.
- Fix some compile warnings while at it.

PR:		usb/183728
MFC after:	2 weeks
2013-11-07 07:22:51 +00:00

15 lines
243 B
Makefile

# $FreeBSD$
TARGETS= bulk control
CFLAGS+= -Wall
all: $(TARGETS)
bulk: bulk.o util.o
$(CC) $(CFLAGS) -o bulk bulk.o util.o -lusb
control: control.o util.o
$(CC) $(CFLAGS) -o control control.o util.o -lusb
clean:
rm -f $(TARGETS) *.o *~