freebsd-dev/share/examples/libusb20/Makefile

18 lines
300 B
Makefile
Raw Normal View History

# $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 *~