summaryrefslogtreecommitdiff
path: root/ccload
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-12-26 23:05:04 -0800
committerKeith Packard <keithp@keithp.com>2008-12-26 23:05:04 -0800
commit1264c3676e95427bba5d01e05c303d036a7f9eca (patch)
tree94ac4f3ad4c714798c90b7e057c153b67ca0c877 /ccload
parentd2d9cfd74fd66836c913c02276e09136d83b35dc (diff)
Switch to libusb-1.0 and use async interface.
The async libusb interface offers substantial performance benefits by not making each command wait for the reply. This makes talking over this interface almost reasonable. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ccload')
-rw-r--r--ccload/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/ccload/Makefile.am b/ccload/Makefile.am
index f54f4aaa..3a754b23 100644
--- a/ccload/Makefile.am
+++ b/ccload/Makefile.am
@@ -1,10 +1,10 @@
bin_PROGRAMS=ccload
-AM_CFLAGS=-I$(top_srcdir)/lib
+AM_CFLAGS=-I$(top_srcdir)/lib $(LIBUSB_CFLAGS)
CCLOAD_LIBS=../lib/libcc.a
ccload_DEPENDENCIES = $(CCLOAD_LIBS)
-ccload_LDADD=$(CCLOAD_LIBS) $(USB_LIBS)
+ccload_LDADD=$(CCLOAD_LIBS) $(LIBUSB_LIBS)
ccload_SOURCES = ccload.c