From db8ee601cdb4fe967105a73929cbbd288a41ce1a Mon Sep 17 00:00:00 2001 From: Brad Richardson Date: Wed, 25 Mar 2020 19:01:58 -0500 Subject: Simplify the example project to what the defaults should be --- example_project/app/Hello_world.f90 | 7 ------- example_project/app/main.f90 | 7 +++++++ example_project/fpm.toml | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 example_project/app/Hello_world.f90 create mode 100644 example_project/app/main.f90 (limited to 'example_project') diff --git a/example_project/app/Hello_world.f90 b/example_project/app/Hello_world.f90 deleted file mode 100644 index 956a6c2..0000000 --- a/example_project/app/Hello_world.f90 +++ /dev/null @@ -1,7 +0,0 @@ -program Hello_world - use Hello_m, only: sayHello - - implicit none - - call sayHello("World") -end program Hello_world diff --git a/example_project/app/main.f90 b/example_project/app/main.f90 new file mode 100644 index 0000000..7783f8f --- /dev/null +++ b/example_project/app/main.f90 @@ -0,0 +1,7 @@ +program example_project + use Hello_m, only: sayHello + + implicit none + + call sayHello("World") +end program example_project diff --git a/example_project/fpm.toml b/example_project/fpm.toml index eda6e6b..5ad7e97 100644 --- a/example_project/fpm.toml +++ b/example_project/fpm.toml @@ -12,8 +12,8 @@ release-options = ["-O3"] [library] source-dirs = "src" -[executables.Hello_world] -main = "Hello_world.f90" +[executables.example_project] +main = "main.f90" source-dirs = "app" linker-options = ["-O3"] dependencies = [] -- cgit v1.2.3