|
10 | 10 | - [Requirements](#requirements)
|
11 | 11 | - [Supported compilers](#supported-compilers)
|
12 | 12 | - [Build with CMake](#build-with-cmake)
|
13 |
| - - [Build with make](#build-with-make) |
14 | 13 | - [Build with fortran-lang/fpm](#build-with-fortran-langfpm)
|
15 | 14 | * [Using stdlib in your project](#using-stdlib-in-your-project)
|
16 | 15 | * [Documentation](#documentation)
|
@@ -168,26 +167,6 @@ If at some point you wish to recompile `stdlib` with different options, you migh
|
168 | 167 | want to delete the `build` folder. This will ensure that cached variables from
|
169 | 168 | earlier builds do not affect the new build.
|
170 | 169 |
|
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 | 170 | ### Build with [fortran-lang/fpm](https://github.com/fortran-lang/fpm)
|
192 | 171 |
|
193 | 172 | Fortran Package Manager (fpm) is a package manager and build system for Fortran.
|
@@ -224,15 +203,6 @@ target_link_libraries(
|
224 | 203 | To make the installed stdlib project discoverable add the stdlib directory to the ``CMAKE_PREFIX_PATH``.
|
225 | 204 | The usual install location of the package files is ``$PREFIX/lib/cmake/fortran_stdlib``.
|
226 | 205 |
|
227 |
| -For non-CMake build systems (like make) you can use the exported pkg-config file by setting ``PKG_CONFIG_PATH`` to include the directory containing the exported pc-file. |
228 |
| -The usual install location of the pc-file is ``$PREFIX/lib/pkgconfig``. |
229 |
| -In make you can obtain the required compile and link arguments with |
230 |
| - |
231 |
| -```make |
232 |
| -STDLIB_CFLAGS := $(shell pkg-config --cflags fortran_stdlib) |
233 |
| -STDLIB_LIBS := $(shell pkg-config --libs fortran_stdlib) |
234 |
| -``` |
235 |
| - |
236 | 206 | ## Documentation
|
237 | 207 |
|
238 | 208 | Documentation is a work in progress (see issue [#4](https://github.com/fortran-lang/stdlib/issues/4)) but already available at [stdlib.fortran-lang.org](https://stdlib.fortran-lang.org).
|
|
0 commit comments