summaryrefslogtreecommitdiff
path: root/Makefile-cmph.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile-cmph.am')
-rw-r--r--Makefile-cmph.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile-cmph.am b/Makefile-cmph.am
index 31db667b..65617a01 100644
--- a/Makefile-cmph.am
+++ b/Makefile-cmph.am
@@ -1,7 +1,7 @@
noinst_LTLIBRARIES += libcmph.la
libcmph_la_CPPFLAGS = -Icmph $(GLIB_CFLAGS)
-libcmph_la_LIBADD = $(GLIB_LIBS)
+libcmph_la_LIBADD = -lm $(GLIB_LIBS)
libcmph_la_SOURCES = \
girepository/cmph/bdz.c \
@@ -65,3 +65,10 @@ libcmph_la_SOURCES = \
girepository/cmph/vqueue.h \
girepository/cmph/vstack.c \
girepository/cmph/vstack.h
+
+GTESTER_PROGS += cmph-bdz-test
+
+cmph_bdz_test_SOURCES = girepository/cmph-bdz-test.c
+cmph_bdz_test_CFLAGS = -Igirepository/cmph $(GOBJECT_CFLAGS)
+cmph_bdz_test_LDADD = libcmph.la $(GOBJECT_LIBS)
+