From 41b22417b7e194f48c612c69c9259e83ddc3a3ac Mon Sep 17 00:00:00 2001 From: "M. Scot Breitenfeld" Date: Mon, 26 Sep 2016 12:08:18 -0500 Subject: Added path to source include files when building buidiface. --- fortran/src/Makefile.am | 2 +- fortran/test/Makefile.am | 2 +- 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_ -- cgit v0.12