summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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_