@barulicm and @cbq seem to want to use this code as a library. Right now, we just build poller.o and link it directly with pololu.o, but there's no reason not to build a .so. Add Makefile support for a shared (and static) library as output, and implement visibility controls in the source (i.e., don't leak symbols all over the place).
Given that I intend to switch from using USB serial cdc_acm to pure libusb synchronous control transfers, I don't think we want to do this just yet. The whole poller infrastructure is likely to go away.
@barulicm and @cbq seem to want to use this code as a library. Right now, we just build poller.o and link it directly with pololu.o, but there's no reason not to build a .so. Add Makefile support for a shared (and static) library as output, and implement visibility controls in the source (i.e., don't leak symbols all over the place).