Skip to content

janberges/makemake90

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

makemake90

Generate Makefiles for modular Fortran programs.

Installation

Either from PyPI:

python3 -m pip install --upgrade makemake90

From conda-forge:

conda install conda-forge::makemake90

Or from the repository:

git clone https://github.com/janberges/makemake90
python3 -m pip install -e makemake90

Synopsis

Generate Makefile for all .f90 files in the current directory and its subdirectories, optionally indicating special directories of your project:

makemake90 src=src obj=build mod=build bin=bin

Customize Makefile preamble (before the line with generated by makemake):

$EDITOR Makefile

Build your project:

make FC=gfortran FFLAGS=-O3

Update Makefile after further work on project:

makemake90

Note: Procedures that are not part of a module are only considered if the code that uses them lists them in an EXTERNAL statement.

About

Generate Makefiles for modular Fortran programs

Topics

Resources

License

Stars

Watchers

Forks

Contributors