summaryrefslogtreecommitdiffstats
path: root/c++/examples
diff options
context:
space:
mode:
Diffstat (limited to 'c++/examples')
-rw-r--r--c++/examples/Makefile.am2
-rw-r--r--c++/examples/Makefile.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/c++/examples/Makefile.am b/c++/examples/Makefile.am
index f60b6d7..ad597c4 100644
--- a/c++/examples/Makefile.am
+++ b/c++/examples/Makefile.am
@@ -39,7 +39,7 @@ HDF_CXX=yes
EXAMPLEDIR=$(docdir)/hdf5/examples/c++
# How to build programs using h5c++
-$(EXTRA_PROG): $(LIBHDF5) $(LIBH5CPP)
+$(EXTRA_PROG): $(H5CPP)
$(H5CPP) $(CPPFLAGS) -o $@ $(srcdir)/$@.cpp
# List dependencies for each program. Normally, automake would take
diff --git a/c++/examples/Makefile.in b/c++/examples/Makefile.in
index 41bd789..aaad5f9 100644
--- a/c++/examples/Makefile.in
+++ b/c++/examples/Makefile.in
@@ -528,7 +528,7 @@ readdata.chkexe_: create.chkexe_
chunks.chkexe_: extend_ds.chkexe_
# How to build programs using h5c++
-$(EXTRA_PROG): $(LIBHDF5) $(LIBH5CPP)
+$(EXTRA_PROG): $(H5CPP)
$(H5CPP) $(CPPFLAGS) -o $@ $(srcdir)/$@.cpp
# List dependencies for each program. Normally, automake would take