Samples: Use the implicit _SOURCES rule

* By default automake looks for a source file foo.c for a foo binary.
This commit is contained in:
Ludovic Rousseau 2012-05-09 09:13:41 +02:00 committed by Pete Batard
parent 6b7609125f
commit 7e52e1e753
2 changed files with 1 additions and 7 deletions

View File

@ -3,18 +3,12 @@ LDADD = ../libusb/libusb-1.0.la
noinst_PROGRAMS = listdevs xusb
listdevs_SOURCES = listdevs.c
xusb_SOURCES = xusb.c
if HAVE_SIGACTION
dpfp_SOURCES = dpfp.c
noinst_PROGRAMS += dpfp
endif
if THREADS_POSIX
if HAVE_SIGACTION
dpfp_threaded_SOURCES = dpfp_threaded.c
dpfp_threaded_CFLAGS = $(THREAD_CFLAGS) $(AM_CFLAGS)
noinst_PROGRAMS += dpfp_threaded
endif

View File

@ -9,7 +9,7 @@
#define LIBUSB_MICRO 11
#endif
#ifndef LIBUSB_NANO
#define LIBUSB_NANO 10501
#define LIBUSB_NANO 10502
#endif
/* LIBUSB_RC is the release candidate suffix. Should normally be empty. */
#ifndef LIBUSB_RC