summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)