summaryrefslogtreecommitdiffstats
path: root/hl/c++
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2007-01-26 15:00:09 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2007-01-26 15:00:09 (GMT)
commit3fdcb8b3d9bb69243903b4d2ae4a67cdc5bdd544 (patch)
tree49c0de341039f917e0bb82799a778ab3ad7ad4dc /hl/c++
parentfd63747fd649c609abcbcd6c6143cbe564092867 (diff)
downloadhdf5-3fdcb8b3d9bb69243903b4d2ae4a67cdc5bdd544.zip
hdf5-3fdcb8b3d9bb69243903b4d2ae4a67cdc5bdd544.tar.gz
hdf5-3fdcb8b3d9bb69243903b4d2ae4a67cdc5bdd544.tar.bz2
[svn-r13203] Unable to replicate Daily Test error, but hopefully this is a fix anyway.
The examples had been depending on the build libraries in src, but should have been depending only on the installed h5cc. Fixed this. Tested on kagiso (dependency change only, and was unable to replicate the problem on any system). Real test will be Daily Tests tonight.
Diffstat (limited to 'hl/c++')
-rw-r--r--hl/c++/examples/Makefile.am2
-rw-r--r--hl/c++/examples/Makefile.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/hl/c++/examples/Makefile.am b/hl/c++/examples/Makefile.am
index 85cb35e..7142e8f 100644
--- a/hl/c++/examples/Makefile.am
+++ b/hl/c++/examples/Makefile.am
@@ -34,7 +34,7 @@ HDF_CXX=yes
EXAMPLEDIR=$(docdir)/hdf5/examples/hl/c++
# How to build programs using h5c++
-$(EXTRA_PROG): $(LIBHDF5) $(LIBH5CPP) $(LIBH5CPP_HL)
+$(EXTRA_PROG): $(H5CPP)
$(H5CPP) $(CPPFLAGS) -o $@ $(srcdir)/$@.cpp
# List dependencies for each program. Normally, automake would take
diff --git a/hl/c++/examples/Makefile.in b/hl/c++/examples/Makefile.in
index af034d7..13c5f22 100644
--- a/hl/c++/examples/Makefile.in
+++ b/hl/c++/examples/Makefile.in
@@ -522,7 +522,7 @@ uninstall-am: uninstall-info-am uninstall-local
install-doc lib progs tests uninstall-doc _exec_check-s _test
# How to build programs using h5c++
-$(EXTRA_PROG): $(LIBHDF5) $(LIBH5CPP) $(LIBH5CPP_HL)
+$(EXTRA_PROG): $(H5CPP)
$(H5CPP) $(CPPFLAGS) -o $@ $(srcdir)/$@.cpp
# List dependencies for each program. Normally, automake would take