Wiki
Clone wikikrome_bootcamp_2016_ex / makefile
Makefile
The Makefile
contains the following variables:
fc
: compiler variable, can be changed to, e.g.,ifort
(but, in that case, be sure to changeswitch
);switch
: compiler options (change if using something other thangfortran
);exec
: name of the executable (no need to change this);objs
: the list of the objects that will be compiled and the order they are compiled in (corresponding to.f90
files).
It also contains a rule for compiling .f90
files that uses the provided fc
and switch
variables.
Updated