freebsd-nq/share/examples/libusb20/Makefile
Glen Barber a5921bc365 Update share/examples/* to properly install /usr/share/examples.
As result of this, a new examples package is now created.

Note, this is only effective with 'SHARED=copies' (the default),
as the 'SHARED=symlinks' mechanism will create a symlink to the
source tree version of the file(s).

Sponsored by:	The FreeBSD Foundation
2016-05-10 00:51:50 +00:00

18 lines
300 B
Makefile

# $FreeBSD$
PACKAGE=examples
FILESDIR=${SHAREDIR}/examples/libusb20
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 *~