summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fortran/examples/Makefile.am5
-rw-r--r--fortran/examples/Makefile.in5
2 files changed, 8 insertions, 2 deletions
diff --git a/fortran/examples/Makefile.am b/fortran/examples/Makefile.am
index 92dabfb..88d1c98 100644
--- a/fortran/examples/Makefile.am
+++ b/fortran/examples/Makefile.am
@@ -51,9 +51,12 @@ CLEANFILES=*.h5 $(EXTRA_PROG)
HDF_FORTRAN=yes
# Some examples depend on files created by other examples.
-rwdsetexample.chkexe_ attrexample.chkexe_: dsetexample.chkexe_
grpdsetexample.chkexe_: grpsexample.chkexe_
refregexample.chkexe_: refobjexample.chkexe_
+# rwdsetexample and attrexample both modify the same file created by
+# dsetexample. Serialize them.
+rwdsetexample.chkexe_: dsetexample.chkexe_
+attrexample.chkexe_: rwdsetexample.chkexe_
# Tell automake how to build examples using h5fc
# Additional dependencies for the examples are listed below
diff --git a/fortran/examples/Makefile.in b/fortran/examples/Makefile.in
index 728c2cd..deabfd9 100644
--- a/fortran/examples/Makefile.in
+++ b/fortran/examples/Makefile.in
@@ -491,9 +491,12 @@ uninstall-am: uninstall-info-am uninstall-local
# Some examples depend on files created by other examples.
-rwdsetexample.chkexe_ attrexample.chkexe_: dsetexample.chkexe_
grpdsetexample.chkexe_: grpsexample.chkexe_
refregexample.chkexe_: refobjexample.chkexe_
+# rwdsetexample and attrexample both modify the same file created by
+# dsetexample. Serialize them.
+rwdsetexample.chkexe_: dsetexample.chkexe_
+attrexample.chkexe_: rwdsetexample.chkexe_
# Tell automake how to build examples using h5fc
# Additional dependencies for the examples are listed below