xref: /freebsd/share/examples/libusb20/Makefile (revision a5921bc3653e2e286715e6fe8d473ec0d02da38c)
13b9676efSJoerg Wunsch# $FreeBSD$
2*a5921bc3SGlen Barber
3*a5921bc3SGlen BarberPACKAGE=examples
4*a5921bc3SGlen BarberFILESDIR=${SHAREDIR}/examples/libusb20
53b9676efSJoerg WunschTARGETS=	bulk control
62578c12eSHans Petter SelaskyCFLAGS+=	-Wall
73b9676efSJoerg Wunsch
83b9676efSJoerg Wunschall: $(TARGETS)
93b9676efSJoerg Wunsch
102578c12eSHans Petter Selaskybulk: bulk.o util.o
112578c12eSHans Petter Selasky	$(CC) $(CFLAGS) -o bulk bulk.o util.o -lusb
123b9676efSJoerg Wunsch
132578c12eSHans Petter Selaskycontrol: control.o util.o
142578c12eSHans Petter Selasky	$(CC) $(CFLAGS) -o control control.o util.o -lusb
153b9676efSJoerg Wunsch
163b9676efSJoerg Wunschclean:
173b9676efSJoerg Wunsch	rm -f $(TARGETS) *.o *~
18