From d1cb5efa2d6921e7a465f1e6edeb3aabb4384979 Mon Sep 17 00:00:00 2001
From: Juan Escobar <juan.escobar@aero.obs-mip.fr>
Date: Thu, 31 Jul 2014 13:23:12 +0000
Subject: [PATCH] Juan 31/07/2014: RTTOV , missing MNH_RTTOV key for CPP flag
 source compilation

---
 src/Makefile.MESONH.mk | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/Makefile.MESONH.mk b/src/Makefile.MESONH.mk
index 5c10924d2..e27d3dd9d 100644
--- a/src/Makefile.MESONH.mk
+++ b/src/Makefile.MESONH.mk
@@ -27,9 +27,6 @@ ARCH_XYZ=${ARCH}${MNH_REAL}${MNH_INT}-${VERSION_XYZ}
 ifdef VER_USER
 DIR_USER += ${VER_USER}
 endif
-ifdef MNH_NCWRIT
-CPPFLAGS_MNH += -D${MNH_NCWRIT}
-endif
 ##########################################################
 #           Source MNH                                   #
 ##########################################################
@@ -142,6 +139,7 @@ INC_RTTOV      = -I$(B)LIB/RTTOV/src
 DIR_MASTER  += $(DIR_RTTOV)
 CPPFLAGS    += $(CPPFLAGS_RTTOV)
 INC         += $(INC_RTTOV)
+CPPFLAGS_MNH += -DMNH_RTTOV=${MNH_RTTOV}
 #VER_RTTOV      = RTTOV87
 #ARCH_XYZ    := $(ARCH_XYZ)-$(VER_RAD)
 endif
@@ -175,6 +173,12 @@ VPATH               += $(DIR_NEWLFI)
 #ARCH_XYZ    := $(ARCH_XYZ)-$(VER_NEWLFI)
 endif
 ##########################################################
+#           Source NCWRIT                                #
+##########################################################
+ifdef MNH_NCWRIT
+CPPFLAGS_MNH += -DMNH_NCWRIT=${MNH_NCWRIT}
+endif
+##########################################################
 #           Source FOREFIRE                              #
 ##########################################################
 ifdef MNH_FOREFIRE
-- 
GitLab