]> git.draconx.ca Git - cdecl99.git/blobdiff - Makefile.am
Portability improvements for new random number generator.
[cdecl99.git] / Makefile.am
index 3d6107a38b8474fcaa0c7d1769489908974460ff..bef5f018d19fea158c46f6dff23ee11aac1654d5 100644 (file)
@@ -66,11 +66,11 @@ $(libmain_a_OBJECTS): src/options.h
 
 check_PROGRAMS = test/crossparse test/normalize test/randomdecl
 check_LIBRARIES = libtest.a
-libtest_a_SOURCES = test/testlib.c test/rng.c common/src/help.c
+libtest_a_SOURCES = test/testlib.c common/src/help.c
 $(libtest_a_OBJECTS): $(gnulib_headers)
 
-test_randomdecl_SOURCES = test/randomdecl.c test/declgen.c
-test_randomdecl_LDADD = libtest.a libcdecl.la libgnu.la
+test_randomdecl_SOURCES = test/randomdecl.c test/declgen.c test/rng.c
+test_randomdecl_LDADD = libtest.a libcdecl.la libgnu.la $(LDEXP_LIBM)
 $(test_randomdecl_OBJECTS): $(gnulib_headers)
 
 test_crossparse_LDADD = libtest.a libcdecl.la libgnu.la