Commit 8f65ba40 authored by Lorenz Huedepohl's avatar Lorenz Huedepohl
Browse files

Use fdep for proper Fortran module dependencies

This should enable parallel compilation
parent 742b65c0
Pipeline #4 skipped
...@@ -116,3 +116,6 @@ install-exec-hook: ...@@ -116,3 +116,6 @@ install-exec-hook:
# install .mod files (or whatever your compiler calls them) in $(includedir) # install .mod files (or whatever your compiler calls them) in $(includedir)
install-data-hook: install-data-hook:
cp modules/* $(DESTDIR)$(ftimings_includedir)/ cp modules/* $(DESTDIR)$(ftimings_includedir)/
# use fdep
@FORTRAN_MODULE_DEPS@
...@@ -10,6 +10,9 @@ AM_INIT_AUTOMAKE([foreign -Wall -Werror]) ...@@ -10,6 +10,9 @@ AM_INIT_AUTOMAKE([foreign -Wall -Werror])
AM_SILENT_RULES([yes]) AM_SILENT_RULES([yes])
m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
m4_include([fdep/fortran_dependencies.m4])
FDEP_F90_GNU_MAKE_DEPS
AC_PROG_EGREP AC_PROG_EGREP
AC_LANG([Fortran]) AC_LANG([Fortran])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment