bldxag.cfg 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. # ----------------------- FCM extract configuration file -----------------------
  2. cfg::type bld
  3. cfg::version 1.0
  4. # ------------------------------------------------------------------------------
  5. # Build information
  6. # ------------------------------------------------------------------------------
  7. inc $COMPIL_DIR/arch_nemo.fcm
  8. inc $COMPIL_DIR/cpp.fcm
  9. search_src 1
  10. src::ioipsl $MAIN_DIR/EXTERNAL/IOIPSL/src
  11. src::nemo $CONFIG_DIR/$NEW_CONF/WORK
  12. bld::target nemo.exe
  13. bld::exe_dep
  14. dir::root $NEMO_TDIR/$NEW_CONF/BLD
  15. bld::tool::cpp %CPP
  16. bld::tool::fpp %CPP
  17. bld::tool::fc %FC
  18. bld::tool::fflags %FCFLAGS %USER_INC
  19. bld::tool::ld %LD
  20. bld::tool::ldflags %LDFLAGS %USER_LIB
  21. bld::tool::ar %AR
  22. bld::tool::arflags %ARFLAGS
  23. bld::tool::make %MK
  24. # Pre-process code before analysing dependencies
  25. bld::pp::ioipsl 1
  26. bld::pp::nemo 1
  27. bld::tool::fppflags::nemo %FPPFLAGS
  28. bld::tool::fppflags::ioipsl %FPPFLAGS
  29. # Ignore the following dependencies
  30. bld::excl_dep inc::netcdf.inc
  31. bld::excl_dep inc::VT.inc
  32. bld::excl_dep use::netcdf
  33. bld::excl_dep use::xios
  34. bld::excl_dep h::netcdf.inc
  35. bld::excl_dep h::mpif.h
  36. bld::excl_dep inc::mpif.h
  37. bld::excl_dep inc::mpe_logf.h
  38. bld::excl_dep use::mpi
  39. bld::excl_dep use::mod_oasis
  40. bld::excl_dep use::mkl_dfti
  41. # Don't generate interface files
  42. bld::tool::geninterface none
  43. # Allow ".h90" as an extension for CPP include files
  44. bld::infile_ext::h90 CPP::INCLUDE
  45. # extension for module output
  46. bld::outfile_ext::mod .mod
  47. # rename executable to nemo.exe
  48. bld::exe_name::model nemo.exe