summaryrefslogtreecommitdiff
path: root/s51
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 /s51
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 's51')
-rw-r--r--s51/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/s51/Makefile.am b/s51/Makefile.am
index cfa183d4..fa6fc692 100644
--- a/s51/Makefile.am
+++ b/s51/Makefile.am
@@ -1,10 +1,10 @@
bin_PROGRAMS=s51
-AM_CFLAGS=-I$(top_srcdir)/lib
+AM_CFLAGS=-I$(top_srcdir)/lib $(LIBUSB_CFLAGS)
S51_LIBS=../lib/libcc.a
s51_DEPENDENCIES = $(S51_LIBS)
-s51_LDADD=$(S51_LIBS) $(USB_LIBS)
+s51_LDADD=$(S51_LIBS) $(LIBUSB_LIBS)
s51_SOURCES = s51-parse.c s51-command.c s51-main.c