diff --git a/lib/libqof/qof/Makefile.am b/lib/libqof/qof/Makefile.am index dba58fa291..664f53810d 100644 --- a/lib/libqof/qof/Makefile.am +++ b/lib/libqof/qof/Makefile.am @@ -95,10 +95,10 @@ qofla-dir.h: $(srcdir)/qofla-dir.h.in Makefile BUILT_SOURCES = qofla-dir.h CLEANFILES = $(BUILT_SOURCES) -## For testing the qofmath128 routines, uncomment the following -## lines and run the test-qofmath program. -#noinst_PROGRAMS = test-qofmath -#test_qofmath_SOURCES=gnc-numeric.c -#DEFS=-DTEST_128_BIT_MULT -#test_qofmath_LDFLAGS=$(libgncqof_la_LDFLAGS) -#test_qofmath_LDADD=$(libgncqof_la_LIBADD) +## For testing the qofmath128 routines +# run "make check" (to build the test program) and then run test-qofmath +check_PROGRAMS = test-qofmath +test_qofmath_SOURCES=gnc-numeric.c +test_qofmath_CPPFLAGS=$(libgncqof_la_CPPFLAGS) -DTEST_128_BIT_MULT +test_qofmath_LDFLAGS=$(libgncqof_la_LDFLAGS) +test_qofmath_LDADD=$(libgncqof_la_LIBADD)