aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorOndřej Čertík <ondrej@certik.us>2020-02-25 14:44:04 -0800
committerOndřej Čertík <ondrej@certik.us>2020-02-28 08:16:54 -0800
commit6a79e31d9b6eaffdca9ce0a5fe9471d60c20530f (patch)
tree2f5d1cb5d7f2a890965dde8a5d4e9d991adca41e /src
parent42a48dc4b2298ab8601b5df0554792d777f3d3f2 (diff)
downloadfpm-6a79e31d9b6eaffdca9ce0a5fe9471d60c20530f.tar.gz
fpm-6a79e31d9b6eaffdca9ce0a5fe9471d60c20530f.zip
Compile using Fortran
Diffstat (limited to 'src')
-rw-r--r--src/Lib.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Lib.hs b/src/Lib.hs
index f51f079..0717bf8 100644
--- a/src/Lib.hs
+++ b/src/Lib.hs
@@ -9,5 +9,6 @@ import System.Process (callCommand)
someFunc :: IO ()
someFunc = do
putStrLn "someFunc"
- a <- callCommand "ls -l"
+ a <- callCommand "gfortran test/test1.f90 -o test1"
+ a <- callCommand "./test1"
return ()