summaryrefslogtreecommitdiff
path: root/Makefile.tools
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.tools')
-rw-r--r--Makefile.tools5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.tools b/Makefile.tools
index 55e769d8c..0de712866 100644
--- a/Makefile.tools
+++ b/Makefile.tools
@@ -469,6 +469,7 @@ if BTPCLIENT
noinst_PROGRAMS += tools/btpclient
tools_btpclient_SOURCES = tools/btpclient.c src/shared/btp.c src/shared/btp.h
-tools_btpclient_CPPFLAGS = $(AM_CPPFLAGS) $(ELL_CFLAGS)
-tools_btpclient_LDADD = $(ELL_LIBS) lib/libbluetooth-internal.la
+tools_btpclient_LDADD = lib/libbluetooth-internal.la \
+ src/libshared-ell.la $(ell_ldadd)
+tools_btpclient_DEPENDENCIES = $(ell_dependencies)
endif