From f8c88ebc5b33052de0b88690577af4611aa3709a Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Wed, 11 Dec 2013 01:21:22 +0100 Subject: Clean up runtc build. This only compiles libsigrok into the one target that needs it, instead of slopping it all over the place. --- tests/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/Makefile.am b/tests/Makefile.am index 8086b9d..7841f05 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -41,6 +41,6 @@ endif if HAVE_LIBSIGROK bin_PROGRAMS = runtc runtc_SOURCES = runtc.c -runtc_CPPFLAGS = $(CPPFLAGS_PYTHON) -runtc_LDFLAGS = -L/home/bert/sr/lib -lsigrok -lsigrokdecode +runtc_CPPFLAGS = $(CPPFLAGS_PYTHON) $(LIBSIGROK_CFLAGS) +runtc_LDFLAGS = $(LIBSIGROK_LIBS) -L$(top_builddir) -lsigrokdecode endif -- cgit v1.2.3-70-g09d2