summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorLudovic Rousseau <ludovic.rousseau@gmail.com>2012-05-09 09:12:01 +0200
committerPete Batard <pete@akeo.ie>2012-05-10 15:38:19 +0100
commit6b7609125f02b18a3b57a2b101d1404aab8f181e (patch)
tree590f831a78be7de06590f7d780d013f62d38fb3e /examples
parent207566535293136c89bc5b7df8c588418171e54f (diff)
downloadlibusb-6b7609125f02b18a3b57a2b101d1404aab8f181e.tar.gz
Samples: Use a common LDADD for all examples
* Similar to libusb patch a129732fb45fc424743f26f01c906e4514f11521
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.am6
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 3ff6cdc..ab4c4ce 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -1,15 +1,14 @@
INCLUDES = -I$(top_srcdir)/libusb
+LDADD = ../libusb/libusb-1.0.la
+
noinst_PROGRAMS = listdevs xusb
listdevs_SOURCES = listdevs.c
-listdevs_LDADD = ../libusb/libusb-1.0.la
xusb_SOURCES = xusb.c
-xusb_LDADD = ../libusb/libusb-1.0.la
if HAVE_SIGACTION
dpfp_SOURCES = dpfp.c
-dpfp_LDADD = ../libusb/libusb-1.0.la
noinst_PROGRAMS += dpfp
endif
@@ -17,7 +16,6 @@ if THREADS_POSIX
if HAVE_SIGACTION
dpfp_threaded_SOURCES = dpfp_threaded.c
dpfp_threaded_CFLAGS = $(THREAD_CFLAGS) $(AM_CFLAGS)
-dpfp_threaded_LDADD = ../libusb/libusb-1.0.la
noinst_PROGRAMS += dpfp_threaded
endif
endif