diff options
-rw-r--r-- | c++/test/Makefile.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/c++/test/Makefile.in b/c++/test/Makefile.in index bc3aa8a..f0bc1bd 100644 --- a/c++/test/Makefile.in +++ b/c++/test/Makefile.in @@ -30,11 +30,12 @@ LIBHDF5=$(hdf5_builddir)/libhdf5.la ## executed, generally most specific tests to least specific tests. RUNTEST=$(LT_RUN) -TEST_PROG_SRCS=dsets.cpp testhdf5.cpp -TEST_SRC=tfile.cpp th5s.cpp +TEST_SRC=dsets.cpp testhdf5.cpp tfile.cpp th5s.cpp TEST_OBJ=$(TEST_SRC:.cpp=.lo) TEST_PROGS=dsets testhdf5 +TESTHDF5_OBJ=testhdf5.lo tfile.lo th5s.lo + TEST_SCRIPTS= DISTCLEAN=$(TEST_PROGS_SRC:.cpp=.lo) $(TEST_PROGS_SRC:.cpp=.o) *.h5 @@ -42,7 +43,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.lo $(TEST_OBJ) $(LIB) $(LIBHDF5) $(LDFLAGS) $(LIBS) + @$(LT_LINK_EXE) $(CFLAGS) -o $@ $(TESTHDF5_OBJ) $(LIB) $(LIBHDF5) $(LDFLAGS) $(LIBS) dsets: dsets.lo @$(LT_LINK_EXE) $(CFLAGS) -o $@ dsets.lo $(hdf5_builddir)/../test/h5test.lo $(LIB) $(LIBHDF5) $(LDFLAGS) $(LIBS) |