bld_tools.cfg 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # ----------------------- FCM extract configuration file -----------------------
  2. cfg::type bld
  3. cfg::version 1.0
  4. # ------------------------------------------------------------------------------
  5. # Build information
  6. # ------------------------------------------------------------------------------
  7. inc $COMPIL_DIR/arch_tools.fcm
  8. search_src 1
  9. src::nemo $TOOLS_DIR/$NEW_CONF/src
  10. dir::root $NEMO_TDIR/$NEW_CONF/BLD
  11. bld::tool::cpp %CPP
  12. bld::tool::fpp %CPP
  13. bld::tool::fc %FC
  14. bld::tool::fflags %FCFLAGS %USER_INC
  15. bld::tool::ld %LD
  16. bld::tool::ldflags %LDFLAGS %USER_LIB
  17. bld::tool::ar %AR
  18. bld::tool::arflags %ARFLAGS
  19. bld::tool::make %MK
  20. # Ignore the following dependencies
  21. bld::excl_dep inc::netcdf.inc
  22. bld::excl_dep use::netcdf
  23. bld::excl_dep h::netcdf.inc
  24. bld::excl_dep h::mpif.h
  25. bld::excl_dep inc::mpif.h
  26. bld::excl_dep use::mpi
  27. # Don't generate interface files
  28. bld::tool::geninterface none
  29. # Allow ".h90" as an extension for CPP include files
  30. bld::infile_ext::h90 CPP::INCLUDE
  31. # extension for module output
  32. bld::outfile_ext::mod .mod
  33. # rename executable to nemo.exe
  34. bld::exe_name::model nemo.exe