diff --git a/Makefile.lib b/Makefile.lib index a56d45cd..4cedf912 100644 --- a/Makefile.lib +++ b/Makefile.lib @@ -153,6 +153,7 @@ clean-test: test-default: ifdef TEST_PROGS +TESTDEPS-$(CONFIG_DEBUG) += $(top_builddir)/src/util/memdebug.o TESTDEPS += $(TESTDEPS-yes) TESTS = $(wildcard $(srcdir)test-*) diff --git a/src/dom/test/Makefile b/src/dom/test/Makefile index 3b7bd24d..2bf9957e 100644 --- a/src/dom/test/Makefile +++ b/src/dom/test/Makefile @@ -14,6 +14,4 @@ TESTDEPS = \ $(top_builddir)/src/util/string.o \ $(top_builddir)/src/util/memory.o -TESTDEPS-$(CONFIG_DEBUG) += $(top_builddir)/src/util/memdebug.o \ - include $(top_srcdir)/Makefile.lib diff --git a/src/protocol/ftp/Makefile b/src/protocol/ftp/Makefile index 9aa1dc75..115744b7 100644 --- a/src/protocol/ftp/Makefile +++ b/src/protocol/ftp/Makefile @@ -16,6 +16,4 @@ TESTDEPS = \ $(top_builddir)/src/util/string.o \ $(top_builddir)/src/util/time.o -TESTDEPS-$(CONFIG_DEBUG) += $(top_builddir)/src/util/memdebug.o - include $(top_srcdir)/Makefile.lib