summaryrefslogtreecommitdiff
path: root/lib/Makefile.am
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 /lib/Makefile.am
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 'lib/Makefile.am')
-rw-r--r--lib/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index a5e5932b..16f5b921 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -1,6 +1,6 @@
noinst_LIBRARIES = libcc.a
-AM_CFLAGS=$(WARN_CFLAGS)
+AM_CFLAGS=$(WARN_CFLAGS) $(LIBUSB_CFLAGS)
libcc_a_SOURCES = \
ccdbg-command.c \
@@ -11,4 +11,5 @@ libcc_a_SOURCES = \
ccdbg-io.c \
ccdbg-manual.c \
ccdbg-memory.c \
- cp-usb.c
+ cp-usb.c \
+ cp-usb-async.c