Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
noinst_PROGRAMS = register_test
register_test_SOURCES = register_test.c tp.h
-register_test_LDADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o
+register_test_LDADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o -lpthread
noinst_PROGRAMS = tracepoint_benchmark
tracepoint_benchmark_SOURCES = tracepoint_benchmark.c tracepoint_benchmark.h
-tracepoint_benchmark_LDADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o
+tracepoint_benchmark_LDADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o -lpthread
CFLAGS_tracepoint_benchmark.o = -I$(src) -g