Uncomment the test-qofmath to make it easier to use.

Change it to check_PROGRAMS
use <prog>_CPPFLAGS instead of DEFS -- this works great!


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15302 57a11ea4-9604-0410-9ed3-97b8803252fd
zzzoldfeatures/gobject-engine-dev
Derek Atkins 20 years ago
parent def1a50c61
commit 078d3d0cd8

@ -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)

Loading…
Cancel
Save