NETCDF_INCDIR="-I$(nf-config --includedir) -I$(nc-config --includedir)" # nc required for xios # Ugly hack for orchidee <=2.0 NETCDF_LIBDIR="-L$(nf-config --flibs | sed -e "s/-L//")" NETCDF_LIB="-lnetcdff -lnetcdf" NETCDF95_INCDIR="-I$(pwd)/../../include" NETCDF95_LIBDIR="-L$(pwd)/../../lib" NETCDF95_LIB="-lnetcdf95" # Exported IOIPSL_INCDIR="-I$(pwd)/../IOIPSL/inc -I$(pwd)/../IOIPSL/lib" IOIPSL_LIBDIR="-L$(pwd)/../IOIPSL/inc -L$(pwd)/../IOIPSL/lib" IOIPSL_LIB="-lioipsl" # Exported XIOS_INCDIR="-I$(pwd)/../XIOS/inc" XIOS_LIBDIR="-L$(pwd)/../XIOS/lib" XIOS_LIB="-lxios -lstdc++" # Exported ORCH_INCDIR="-I$(pwd)/../ORCHIDEE/inc -I$(pwd)/../ORCHIDEE/lib" ORCH_LIBDIR="-L$(pwd)/../ORCHIDEE/inc -L$(pwd)/../ORCHIDEE/lib" ORCH_LIB="-lorchidee"