summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorhanrot <hanrot@280ebfd0-de03-0410-8827-d642c229c3f4>2000-06-15 17:42:09 +0000
committerhanrot <hanrot@280ebfd0-de03-0410-8827-d642c229c3f4>2000-06-15 17:42:09 +0000
commitdd8bda366a7afafeda1d515403fa8ef8f37a7f34 (patch)
tree4d060811402df89c520ecb7b1521baa834b2c58b /Configure
parent9acbbafef971e86766aa45a826f68008b435ee40 (diff)
downloadmpfr-dd8bda366a7afafeda1d515403fa8ef8f37a7f34.tar.gz
Added TESTFLAGS to the main Makefile. Added ttrunc.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@618 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/Configure b/Configure
index bd53d0c5c..0a284fb0e 100755
--- a/Configure
+++ b/Configure
@@ -228,7 +228,7 @@ cat > Makefile <<EOF
# Makefile automatically generated by Configure. Do not edit !!
#
CC=$defC
-CFLAGS=$special $incflags $cflags $contrspecial -D$ostype
+CFLAGS=\$(TESTFLAGS) $special $incflags $cflags $contrspecial -D$ostype
OBJS=add.o div_2exp.o neg.o set_dfl_prec.o set_str_raw.o agm.o get_str.o print_raw.o set_dfl_rnd.o sqrt.o clear.o init.o rnd_mode.o set_f.o sub.o cmp.o mul.o round.o set_prec.o cmp_ui.o mul_2exp.o set.o set_si.o div.o mul_ui.o set_d.o pow.o out_str.o pi.o set_z.o add_ulp.o log2.o random.o log.o exp.o div_ui.o zeta.o karasqrt.o print_rnd_mode.o set_q.o random2.o eq.o dump.o set_prc_raw.o urandomb.o ceil.o floor.o trunc.o add_ui.o sqrt_ui.o ui_div.o ui_sub.o reldiff.o sub_ui.o set_str.o inp_str.o
VERSION=0.0
@@ -244,7 +244,7 @@ libmpfr.a: \$(OBJS)
ranlib libmpfr.a
tests: mpfr.h libmpfr.a
- -cd tests; \$(MAKE) all
+ -cd tests; \$(MAKE) "TESTFLAGS=\$(TESTFLAGS)" all
doc: mpfr.texi
texi2dvi mpfr.texi
@@ -311,7 +311,7 @@ cat > tests/Makefile <<EOF
CC=$defC
CFLAGS=$special $incflags -I.. $cflags $ldpath -D$ostype
LDLIBS=$ldflags ../libmpfr.a $lib $ldlibs
-TESTS=tadd tcmp2 tget_str tmul_ui tset_f tsqrt tagm tcmp_ui tmul tround tset_si tcmp tdiv tmul_2exp tset_d tset_str tpi tset_z tlog2 tcan_round tlog texp tdiv_ui tzeta tout_str tset_q tadd_ui tsqrt_ui tui_div tui_sub tabs teq trandom
+TESTS=tadd tcmp2 tget_str tmul_ui tset_f tsqrt tagm tcmp_ui tmul tround tset_si tcmp tdiv tmul_2exp tset_d tset_str tpi tset_z tlog2 tcan_round tlog texp tdiv_ui tzeta tout_str tset_q tadd_ui tsqrt_ui tui_div tui_sub tabs teq trandom ttrunc
tests all: \$(TESTS)
for i in \$(TESTS); do \