Samples: Use the implicit _SOURCES rule
authorLudovic Rousseau <ludovic.rousseau@gmail.com>
Wed, 9 May 2012 07:13:41 +0000 (09:13 +0200)
committerPete Batard <pete@akeo.ie>
Thu, 10 May 2012 14:39:11 +0000 (15:39 +0100)
* By default automake looks for a source file foo.c for a foo binary.

examples/Makefile.am
libusb/version.h

index ab4c4ce..a5bad99 100644 (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
index c63bbf8..a31d435 100644 (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