diff options
author | Ondřej Čertík <ondrej@certik.us> | 2020-07-22 13:40:58 -0600 |
---|---|---|
committer | Ondřej Čertík <ondrej@certik.us> | 2020-07-22 15:29:58 -0600 |
commit | 9a12ab0f29cabcdcf509d412d13ddd62c9455e47 (patch) | |
tree | 891e921a1a8bfdc0a1a12c674d54b6fdfc78744e | |
parent | 6445315b1e473afefdfe79fef4adc304c2e69153 (diff) | |
download | fpm-9a12ab0f29cabcdcf509d412d13ddd62c9455e47.tar.gz fpm-9a12ab0f29cabcdcf509d412d13ddd62c9455e47.zip |
Use pkg_name
-rw-r--r-- | fpm/src/fpm.f90 | 4 |
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 |