diff options
author | LKedward <laurence.kedward@bristol.ac.uk> | 2021-03-07 11:48:49 +0000 |
---|---|---|
committer | LKedward <laurence.kedward@bristol.ac.uk> | 2021-03-07 11:48:49 +0000 |
commit | c41c39e36cc1e10699a47d5eca6da396f0173a64 (patch) | |
tree | c315f440164070f692a5b0143d0db4bc6860b83a /example_packages/fortran_includes/src | |
parent | 433e408c5de7cbb139cfb35e675f2bf73676467b (diff) | |
download | fpm-c41c39e36cc1e10699a47d5eca6da396f0173a64.tar.gz fpm-c41c39e36cc1e10699a47d5eca6da396f0173a64.zip |
Add: example packages for include directories
Diffstat (limited to 'example_packages/fortran_includes/src')
-rw-r--r-- | example_packages/fortran_includes/src/lib.f90 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/example_packages/fortran_includes/src/lib.f90 b/example_packages/fortran_includes/src/lib.f90 new file mode 100644 index 0000000..a27a001 --- /dev/null +++ b/example_packages/fortran_includes/src/lib.f90 @@ -0,0 +1,14 @@ +module test_mod + implicit none + + include "parameters.f90" + + contains + + subroutine test_sub(a) + real(dp), intent(in) :: a + + write(*,*) 'a: ', a + end subroutine test_sub + +end module test_mod
\ No newline at end of file |