Skip to content

Commit ed9ef9a

Browse files
committed
Remove manual Make instructions from docs
1 parent 71b2b80 commit ed9ef9a

File tree

2 files changed

+0
-44
lines changed

2 files changed

+0
-44
lines changed

README.md

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
- [Requirements](#requirements)
1111
- [Supported compilers](#supported-compilers)
1212
- [Build with CMake](#build-with-cmake)
13-
- [Build with make](#build-with-make)
1413
- [Build with fortran-lang/fpm](#build-with-fortran-langfpm)
1514
* [Using stdlib in your project](#using-stdlib-in-your-project)
1615
* [Documentation](#documentation)
@@ -168,32 +167,6 @@ If at some point you wish to recompile `stdlib` with different options, you migh
168167
want to delete the `build` folder. This will ensure that cached variables from
169168
earlier builds do not affect the new build.
170169

171-
172-
### Build with make
173-
174-
Alternatively, you can build using provided Makefiles:
175-
176-
```sh
177-
make -f Makefile.manual
178-
```
179-
180-
You can limit the maximum rank by setting ``-DMAXRANK=<num>`` in the ``ADD_FYPPFLAGS`` environment variable (which can reduce the compilation time):
181-
182-
```sh
183-
make -f Makefile.manual ADD_FYPPFLAGS=-DMAXRANK=4
184-
```
185-
186-
You can also specify the compiler and compiler-flags by setting the ``FC`` and ``FFLAGS`` environmental variables. Among other things, this facilitates use of compiler optimizations that are not specified in the Makefile.manual defaults.
187-
```sh
188-
make -f Makefile.manual ADD_FYPPFLAGS=-DMAXRANK=4 FC=gfortran FFLAGS="-O3"
189-
```
190-
191-
On some systems, ``make`` selects the wrong default compiler. If you encounter error messages like ``make[1]: f77: No such file or directory`` set ``FC`` to your preferred compiler (e.g., ``gfortran``) or try
192-
193-
```sh
194-
make -f Makefile.manual --no-builtin-variables
195-
```
196-
197170
### Build with [fortran-lang/fpm](https://github.com/fortran-lang/fpm)
198171

199172
Fortran Package Manager (fpm) is a package manager and build system for Fortran.

WORKFLOW.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -113,20 +113,3 @@ The project is usable as CMake subproject. Explicit references to
113113
break subproject builds.
114114
An example project is available [here](https://github.com/fortran-lang/stdlib-cmake-example)
115115
to test the CMake subproject integration.
116-
117-
118-
### Make build files
119-
120-
The build files for ``make`` are using the name ``Makefile.manual`` to
121-
not conflict with the in-tree build of CMake.
122-
This project uses recursive make to transverse the subdirectory structure
123-
from the top-level makefile, called ``Makefile.manual``, and the build
124-
happens in-tree, *i.e.* build artifacts are present along with the source code.
125-
126-
New source files are added in ``src/Makefile.manual`` and include manual
127-
dependency definitions through the object files to allow parallel
128-
compilation.
129-
Tests are generated by the make include file ``src/tests/Makefile.manual.test.mk``
130-
and defined in the subdirectories of the ``src/tests`` as entries in ``PROGS_SRC``.
131-
New subdirectories have to be explicitly added to ``src/tests/Makefile.manual``
132-
or are ignored.

0 commit comments

Comments
 (0)