aboutsummaryrefslogtreecommitdiff
path: root/example_library/src
diff options
context:
space:
mode:
authorBrad Richardson <brichardson@structint.com>2020-02-27 10:22:38 -0800
committerBrad Richardson <brichardson@structint.com>2020-02-27 10:22:38 -0800
commit775841b8437adf4f400a21fa939156dc6ef48cc2 (patch)
treeae10c44cef4e60bf118c59f9b32161d411a5a42a /example_library/src
parent2573315e014303cda41682003bafa7e0a6f00167 (diff)
downloadfpm-775841b8437adf4f400a21fa939156dc6ef48cc2.tar.gz
fpm-775841b8437adf4f400a21fa939156dc6ef48cc2.zip
Enable building a library
Diffstat (limited to 'example_library/src')
-rw-r--r--example_library/src/example_m.f906
1 files changed, 6 insertions, 0 deletions
diff --git a/example_library/src/example_m.f90 b/example_library/src/example_m.f90
new file mode 100644
index 0000000..947dcfc
--- /dev/null
+++ b/example_library/src/example_m.f90
@@ -0,0 +1,6 @@
+module example_m
+ implicit none
+ private
+
+ integer, public, parameter :: ANSWER = 42
+end module example_m