xref: /freebsd/share/examples/libusb20/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1*a5921bc3SGlen BarberPACKAGE=examples
2*a5921bc3SGlen BarberFILESDIR=${SHAREDIR}/examples/libusb20
33b9676efSJoerg WunschTARGETS=	bulk control
42578c12eSHans Petter SelaskyCFLAGS+=	-Wall
53b9676efSJoerg Wunsch
63b9676efSJoerg Wunschall: $(TARGETS)
73b9676efSJoerg Wunsch
82578c12eSHans Petter Selaskybulk: bulk.o util.o
92578c12eSHans Petter Selasky	$(CC) $(CFLAGS) -o bulk bulk.o util.o -lusb
103b9676efSJoerg Wunsch
112578c12eSHans Petter Selaskycontrol: control.o util.o
122578c12eSHans Petter Selasky	$(CC) $(CFLAGS) -o control control.o util.o -lusb
133b9676efSJoerg Wunsch
143b9676efSJoerg Wunschclean:
153b9676efSJoerg Wunsch	rm -f $(TARGETS) *.o *~
16