summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.am4
-rw-r--r--examples/Makefile.in4
2 files changed, 8 insertions, 0 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 222799c..07f659b 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -57,6 +57,10 @@ else
$(H5CC) $(CFLAGS) -o $@ $(srcdir)/$@.c;
endif
+# Two of the examples depend on files created by other examples.
+h5_read.chkexe_: h5_write.chkexe_
+h5_chunk_read.chkexe_: h5_extend_write.chkexe_
+
# How to install examples
# There are a lot of rules because automake does not know about
# the examples programs, and does not recognize the install-examples
diff --git a/examples/Makefile.in b/examples/Makefile.in
index 9d631ad..376b56f 100644
--- a/examples/Makefile.in
+++ b/examples/Makefile.in
@@ -495,6 +495,10 @@ $(EXTRA_PROG): $(LIBHDF5)
@BUILD_PARALLEL_CONDITIONAL_TRUE@ $(H5CC_PP) $(CFLAGS) -o $@ $(srcdir)/$@.c;
@BUILD_PARALLEL_CONDITIONAL_FALSE@ $(H5CC) $(CFLAGS) -o $@ $(srcdir)/$@.c;
+# Two of the examples depend on files created by other examples.
+h5_read.chkexe_: h5_write.chkexe_
+h5_chunk_read.chkexe_: h5_extend_write.chkexe_
+
$(EXAMPLEDIR):
-$(top_srcdir)/bin/mkdirs $@