Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
!file: <project_dir>/src/main.f90
program main
use calculator
        integer :: result
        call add(2,2,result)
end program main

Finalization

Create mod directory

This directory will contains built modules. Unlikely GNU make won't create it itself.

Code Block
cd <project_dir>
mkdir mod

Create Makefile

It is a build instruction that makes compiling your project easy. 

...