summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-03-08 21:03:32 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-03-08 21:03:32 (GMT)
commitb8bb807e1a109600893630f3e17162e4e0ebae5a (patch)
treedaeb3639d926681f8748d6006df89817d1c11544
parent8e6025694bc45335d4b301ca0593a53cafb5240d (diff)
downloadhdf5-b8bb807e1a109600893630f3e17162e4e0ebae5a.zip
hdf5-b8bb807e1a109600893630f3e17162e4e0ebae5a.tar.gz
hdf5-b8bb807e1a109600893630f3e17162e4e0ebae5a.tar.bz2
[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
-rw-r--r--c++/test/Makefile.in4
1 files 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)