1# $FreeBSD$ 2 3PACKAGE=examples 4FILESDIR=${SHAREDIR}/examples/libusb20 5TARGETS= bulk control 6CFLAGS+= -Wall 7 8all: $(TARGETS) 9 10bulk: bulk.o util.o 11 $(CC) $(CFLAGS) -o bulk bulk.o util.o -lusb 12 13control: control.o util.o 14 $(CC) $(CFLAGS) -o control control.o util.o -lusb 15 16clean: 17 rm -f $(TARGETS) *.o *~ 18