summaryrefslogtreecommitdiffstats
path: root/fortran
diff options
context:
space:
mode:
authorM. Scot Breitenfeld <brtnfld@hdfgroup.org>2016-09-26 17:08:18 (GMT)
committerM. Scot Breitenfeld <brtnfld@hdfgroup.org>2016-09-26 17:08:18 (GMT)
commit41b22417b7e194f48c612c69c9259e83ddc3a3ac (patch)
tree1f05010dd85fdc2ccb3d39a8fea59ad12315cbfb /fortran
parent7e5fcd3a4a4f4949505b47d48d0292e944b3e670 (diff)
downloadhdf5-41b22417b7e194f48c612c69c9259e83ddc3a3ac.zip
hdf5-41b22417b7e194f48c612c69c9259e83ddc3a3ac.tar.gz
hdf5-41b22417b7e194f48c612c69c9259e83ddc3a3ac.tar.bz2
Added path to source include files when building buidiface.
Diffstat (limited to 'fortran')
-rw-r--r--fortran/src/Makefile.am2
-rw-r--r--fortran/test/Makefile.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/fortran/src/Makefile.am b/fortran/src/Makefile.am
index bbdae2f..4ec02b7 100644
--- a/fortran/src/Makefile.am
+++ b/fortran/src/Makefile.am
@@ -139,7 +139,7 @@ H5_buildiface_SOURCES = H5_buildiface.F90
FORTRAN_API=yes
H5_buildiface$(EXEEXT): $(H5_buildiface_SOURCES) H5config_f.inc
- $(FC) $(FCFLAGS) $< -o $@ -I.
+ $(FC) $(FCFLAGS) $< -o $@ -I$(top_builddir)/fortran/src
# Hardcode the dependencies of these files. There isn't a known way of
# determining this automagically (like we do with the C files). So, when
diff --git a/fortran/test/Makefile.am b/fortran/test/Makefile.am
index 67b39e2..36b9adc 100644
--- a/fortran/test/Makefile.am
+++ b/fortran/test/Makefile.am
@@ -99,7 +99,7 @@ H5_test_buildiface_LDADD =
H5_test_buildiface$(EXEEXT): $(H5_test_buildiface_SOURCES)
- $(FC) $(FCFLAGS) $< -o $@ -I.
+ $(FC) $(FCFLAGS) $< -o $@ -I$(top_builddir)/fortran/src
# fflush2 depends on files created by fflush1
fflush2.chkexe_: fflush1.chkexe_