summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-07-31 06:05:43 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-07-31 06:05:43 +0800
commitaa45e92b0c6ccf7bf825e3e63ce5ba7648fee6d3 (patch)
tree667ab39967368d7b188fceec11e1017801a59356
parentce7afe40e24f6018ea051f3c405dac359fa4a264 (diff)
sccp_test: Compile the sccp.c directly into the binary
Do not link to the static library, but include the single source file to always have an up-to-date binary without dependencies between Makefiles.
-rw-r--r--tests/sccp/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sccp/Makefile.am b/tests/sccp/Makefile.am
index b7caf7d..93c3412 100644
--- a/tests/sccp/Makefile.am
+++ b/tests/sccp/Makefile.am
@@ -3,6 +3,6 @@ AM_CFLAGS=-Wall -ggdb3 $(LIBOSMOCORE_CFLAGS)
noinst_PROGRAMS = sccp_test
-sccp_test_SOURCES = sccp_test.c
-sccp_test_LDADD = $(top_builddir)/src/libsccp.a $(LIBOSMOCORE_LIBS)
+sccp_test_SOURCES = sccp_test.c $(top_srcdir)/src/sccp/sccp.c
+sccp_test_LDADD = $(LIBOSMOCORE_LIBS)