diff options
Diffstat (limited to 'examples/Makefile.am')
-rw-r--r-- | examples/Makefile.am | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am index d178d07..8ffc9c5 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -1,5 +1,12 @@ INCLUDES = -I$(top_srcdir) -noinst_PROGRAMS = xusb lsusb dpfp dpfp_threaded + +if POSIX_THREADS +DPFP_SRC = dpfp dpfp_threaded +else +DPFP_SRC = dpfp +endif + +noinst_PROGRAMS = xusb lsusb $(DPFP_SRC) lsusb_SOURCES = lsusb.c lsusb_LDADD = ../libusb/libusb-1.0.la -lusb-1.0 |