From b8bb807e1a109600893630f3e17162e4e0ebae5a Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Thu, 8 Mar 2001 16:03:32 -0500 Subject: [svn-r3577] Purpose: Bug Fix Description: Fixed the compile lines for the C++ tests. Solution: Added the actual objects to be compiled into the testhdf5 program and removed the tfile from the TEST_PROGS line since it would try to create a program from the tfile module, but it didn't have a "main" function. Platforms tested: Linux --- c++/test/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c++/test/Makefile.in b/c++/test/Makefile.in index 0eda5be..c63a581 100644 --- a/c++/test/Makefile.in +++ b/c++/test/Makefile.in @@ -32,7 +32,7 @@ RUNTEST=$(LT_RUN) TEST_SRC=dsets.cpp testhdf5.cpp tfile.cpp TEST_OBJ=$(TEST_SRC:.cpp=.lo) -TEST_PROGS=$(TEST_SRC:.cpp=) +TEST_PROGS=dsets testhdf5 TEST_SCRIPTS= @@ -41,7 +41,7 @@ DISTCLEAN=$(TEST_PROGS_SRC:.cpp=.lo) $(TEST_PROGS_SRC:.cpp=.o) *.h5 $(TEST_PROGS): $(LIB) $(LIBHDF5) testhdf5: $(TEST_OBJ) - @$(LT_LINK_EXE) $(CFLAGS) -o $@ $(TESTHDF5_OBJ) $(LIB) $(LIBHDF5) $(LDFLAGS) $(LIBS) + @$(LT_LINK_EXE) $(CFLAGS) -o $@ testhdf5.lo tfile.lo $(LIB) $(LIBHDF5) $(LDFLAGS) $(LIBS) dsets: dsets.lo @$(LT_LINK_EXE) $(CFLAGS) -o $@ dsets.lo $(hdf5_builddir)/../test/h5test.lo $(LIB) $(LIBHDF5) $(LDFLAGS) $(LIBS) -- cgit v0.12