src/aaa_lib/Makefile.am | 17 +++-------------- 1 files changed, 3 insertions(+), 14 deletions(-) diff --git a/src/aaa_lib/Makefile.am b/src/aaa_lib/Makefile.am index de1d7c3..83e2e5c 100644 --- a/src/aaa_lib/Makefile.am +++ b/src/aaa_lib/Makefile.am @@ -22,31 +22,20 @@ BASE_LIBS = ../base/libbase.la BIOM_LIBS = ../biom/libbiom.la TRIANGLE_LIBS = ../triangle/libtriangle.la -#if BUILD_TRIANGLE -LIBTRIANGLE = libtriangle.la -#else -#LIBTRIANGLE = -#endif TETGEN_LIBS = ../tetgen/libtetgen.la -#if BUILD_TETGEN -LIBTETGEN = libtetgen.la -#else -#LIBTETGEN = -#endif -libdir = ${prefix}/lib lib_LTLIBRARIES = libgamer.la ${LIBTRIANGLE} ${LIBTETGEN} libgamer_la_SOURCES = -libgamer_la_LIBADD = ${BASE_LIBS} ${BIOM_LIBS} +libgamer_la_LIBADD = ${BASE_LIBS} ${BIOM_LIBS} -lm -lstdc++ ${LIBTETGEN} libgamer_la_LDFLAGS = -version-info ${FETK_VERSION} libtriangle_la_SOURCES = -libtriangle_la_LIBADD = ${TRIANGLE_LIBS} +libtriangle_la_LIBADD = ${TRIANGLE_LIBS} -lm libtriangle_la_LDFLAGS = -version-info ${FETK_VERSION} libtetgen_la_SOURCES = -libtetgen_la_LIBADD = ${TETGEN_LIBS} +libtetgen_la_LIBADD = ${TETGEN_LIBS} -lm -lstdc++ libtetgen_la_LDFLAGS = -version-info ${FETK_VERSION}