Skip to content
Snippets Groups Projects
Forked from Méso-NH / Méso-NH code
4390 commits behind the upstream repository.
fcm-make.cfg 2.05 KiB
steps = build

#inc arch.fcm
#inc config.fcm
#
#%FFLAGS           %BASE_FFLAGS %COMPIL_FFLAGS

#bld::tool::fc        %COMPILER
#bld::tool::ld        %LINK
#bld::tool::ldflags   %LD_FLAGS %LIB
#bld::tool::fflags    %FFLAGS
#bld::tool::fppkeys   %CPP_KEY %FPP_DEF
#bld::tool::fpp       %FPP
#bld::tool::fppflags  %FPP_FLAGS
#
## Pre-process code before analysing dependencies
#bld::pp              false

## Set Fortran compiler/linker
#build.prop{fc} = ifort
## Set Fortran compiler options
#build.prop{fc.flags} = -i8 -r8 -O3
## Add include paths to Fortran compiler
#build.prop{fc.include-paths} = /a/path/to/include /more/path/to/include
## Set link libraries for Fortran executables
#build.prop{fc.lib-paths} = /path/to/my-lib
#build.prop{fc.libs} = mine
## Set C compiler/linker
#build.prop{cc} = icc
## Set C compiler options
#build.prop{cc.flags} = -O3
## Set C++ compiler options
#build.prop{cxx.flags} = -O2
## Set link libraries for C executables
#build.prop{cc.lib-paths} = /path/to/my-lib /path/to/your-lib
#build.prop{cc.libs} = mine yours
## Set linker, if compiler cannot be used as linker
##build.prop{ld} = ld

#build.prop{fc.defs} = DEFS TO BUILD THIS   # 4

#A terme, c'est un .so qu'il faut générérer avec des points d'entrée à définir
build.target = libo.a
#build.target-rename = libo.a:libphyex.a
build.source[common] = src/common/

#It would be easier to put the entire fiat directory but there are issues
#with entry points declared twice: in C and in fortran
#FCM hate this
#build.source[fiat] = src/fiat/
build.source[parkind] = src/fiat/parkind
build.source[drhook] = src/fiat/fiat/drhook
build.source[include] = src/fiat/fiat/include/fiat
build.source[ec_parkind] = src/fiat/fiat/util/ec_parkind.F90
build.source[ec_args_mod] = src/fiat/fiat/util/ec_args_mod.F90
build.source[ec_lun] = src/fiat/fiat/util/ec_lun.F90
build.source[ec_env_mod] = src/fiat/fiat/util/ec_env_mod.F90
build.source[mpif] = src/fiat/mpi_serial/mpif.h
build.source[mpl] = src/fiat/fiat/mpl/internal
build.source[oml] = src/fiat/fiat/oml
build.source[yomgstats] = src/fiat/fiat/gstats/yomgstats.F90