From daeb2914e07d7e62c665f1db3325a8a64763f1ad Mon Sep 17 00:00:00 2001 From: Quentin Rodier <quentin.rodier@meteo.fr> Date: Thu, 5 Jan 2023 13:23:58 +0100 Subject: [PATCH] Quentin 05/01/2023: add PHYEX compilation sources directives --- src/Makefile.MESONH.mk | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/src/Makefile.MESONH.mk b/src/Makefile.MESONH.mk index 7e99233a2..cb5ba9f78 100644 --- a/src/Makefile.MESONH.mk +++ b/src/Makefile.MESONH.mk @@ -43,7 +43,7 @@ INC_MNH += -I$(B)include # ifdef DIR_MNH DIR_MASTER += $(DIR_MNH) -CPPFLAGS += $(CPPFLAGS_MNH) +CPPFLAGS += $(CPPFLAGS_MNH) -DREPRO55 INC += $(INC_MNH) # @@ -67,7 +67,7 @@ OBJS_NOCB += spll_dxf.o spll_dxm.o spll_dyf.o spll_dym.o \ spll_gx_m_m.o spll_gx_m_u.o spll_gy_m_m.o \ spll_gy_m_v.o spll_gz_m_m.o spll_gz_m_w.o \ spll_dzf_mf.o spll_dzm_mf.o spll_mzf_mf.o spll_mzm_mf.o \ - spll_modi_gradient_m_d.o + spll_modi_gradient_m_d.o spll_shuman_phy.o $(OBJS_NOCB) : OPT = $(OPT_NOCB) @@ -76,6 +76,19 @@ OBJS0 += spll_switch_sbg_lesn.o spll_mode_mppdb.o $(OBJS0) : OPT = $(OPT0) endif + +########################################################## +# Source PHYEX # +########################################################## +DIR_PHYEX += PHYEX/aux PHYEX/turb PHYEX/micro PHYEX/conv +INC_PHYEX += -I$(B)PHYEX/micro -I$(B)PHYEX/turb -I$(B)PHYEX/aux + +CPPFLAGS_PHYEX += -DREPRO55 +# +DIR_MASTER += $(DIR_PHYEX) +CPPFLAGS += $(CPPFLAGS_PHYEX) +INC += $(INC_PHYEX) + ########################################################## # Source SURFEX # ########################################################## @@ -720,6 +733,9 @@ close_file_ol.D close_namelist_ol.D end_io_surf_oln.D \ init_io_surf_oln.D modd_io_surf_ol.D modd_ol_fileid.D \ open_file_ol.D open_namelist_ol.D read_surf_ol.D write_surf_ol.D offline.D +# For PHYEX +IGNORE_DEP_MASTER += ice4_fast_ri.D ice4_rsrimcg_old.D \ + # # ########################################################## -- GitLab