aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fpm/src/fpm.f904
1 files changed, 2 insertions, 2 deletions
diff --git a/fpm/src/fpm.f90 b/fpm/src/fpm.f90
index c1bf54a..fb5e824 100644
--- a/fpm/src/fpm.f90
+++ b/fpm/src/fpm.f90
@@ -169,9 +169,9 @@ call run("gfortran -c app/main.f90 -o main.o")
call package_name(pkg_name)
src = exists("src/fpm.f90")
if (src) then
- call run("gfortran main.o fpm.o -o fpm")
+ call run("gfortran main.o fpm.o -o " // pkg_name)
else
- call run("gfortran main.o -o hello_world")
+ call run("gfortran main.o -o " // pkg_name)
end if
end subroutine