source: branches/publications/ORCHIDEE_Biochar/bld.cfg @ 7442

Last change on this file since 7442 was 6243, checked in by albert.jornet, 5 years ago

Change: adapt Obelix arch file so It does not use hardcoded paths
Fix: missing modifications from previous commit

File size: 2.5 KB
Line 
1# ----------------------- FCM extract configuration file -----------------------
2cfg::type                           bld
3cfg::version                        1.0
4
5
6# ------------------------------------------------------------------------------
7# Build information
8# ------------------------------------------------------------------------------
9
10
11inc arch.fcm
12inc config.fcm
13
14%ROOT_PATH         $PWD
15%SRC_PATH          %ROOT_PATH
16
17
18src::global       %SRC_PATH/src_global
19src::parallel     %SRC_PATH/src_parallel
20src::sechiba      %SRC_PATH/src_sechiba
21src::stomate      %SRC_PATH/src_stomate
22src::math         %SRC_PATH/src_math
23src::parameters   %SRC_PATH/src_parameters
24src::sticslai     %SRC_PATH/src_sticslai
25src::orchidee_ol  %SRC_PATH/src_driver
26src::orchoasis    %SRC_PATH/src_oasisdriver
27src::ext_src      %EXT_SRC
28
29bld::lib::global         orglob
30bld::lib::parallel       parallel
31bld::lib::sechiba        sechiba
32bld::lib::stomate        stomate
33bld::lib::math           math
34bld::lib::parameters     parameters
35bld::lib::sticslai       sticslai
36bld::lib::orchidee_ol    orchidee_ol
37bld::lib::orchoasis      orchoasis
38bld::lib                 orchidee
39
40bld::target              liborglob.a libparallel.a libsechiba.a libstomate.a libmath.a libparameters.a libsticslai.a liborchidee.a
41bld::target              %EXEC
42bld::exe_dep             sticslai ext_src global parallel sechiba stomate math parameters orchidee_ol orchoasis
43
44dir::root            %CONFIG_PATH
45
46bld::tool::fc        %COMPILER 
47bld::tool::ld        %LINK
48bld::tool::ar        %AR
49bld::tool::make      %MAKE
50bld::tool::fflags    %FFLAGS %INCDIR
51bld::tool::ldflags   %LD_FFLAGS %LIBDIR   
52
53bld::tool::cppflags  %FPP_FLAGS %INCDIR
54bld::tool::fppflags  %FPP_FLAGS %INCDIR
55bld::tool::fppkeys   %CPP_KEY
56
57
58# Pre-process code before analysing dependencies
59bld::pp              true
60infile_ext::f90 fpp::fpp9x::source
61
62# Ignore the following dependencies
63bld::excl_dep        inc::netcdf.inc
64bld::excl_dep        use::netcdf
65bld::excl_dep        h::netcdf.inc
66bld::excl_dep        use::ioipsl
67bld::excl_dep        USE::defprec
68bld::excl_dep        USE::calendar
69bld::excl_dep        USE::xios
70bld::excl_dep        USE::mod_oasis
71bld::excl_dep        USE::mpi
72bld::excl_dep        USE::iso_fortran_env
73
74# Don't generate interface files
75bld::tool::geninterface none
76
77# Allow ".inc" as an extension for CPP include files
78bld::infile_ext::inc  CPP::INCLUDE
79
80# extension for module output
81bld::outfile_ext::mod .mod
82bld::tool::SHELL   /bin/bash
Note: See TracBrowser for help on using the repository browser.