diff --git a/openair3/RAL-LTE/Makefile.inc b/openair3/RAL-LTE/Makefile.inc
index d17beeae87190f468c7d49ff1186077109c104ac..19b9f286af305959274e78cc553e630b618da4e1 100755
--- a/openair3/RAL-LTE/Makefile.inc
+++ b/openair3/RAL-LTE/Makefile.inc
@@ -1,7 +1,7 @@
 
 RAL_OBJS =
 
-ifdef $(ENABLE_RAL)
+ifeq ($(ENABLE_RAL), 1)
 RAL_OBJS += $(OPENAIR3_DIR)/RAL-LTE/INTERFACE-802.21/C/MIH_C_header_codec.o
 RAL_OBJS += $(OPENAIR3_DIR)/RAL-LTE/INTERFACE-802.21/C/MIH_C_msg_codec.o
 RAL_OBJS += $(OPENAIR3_DIR)/RAL-LTE/INTERFACE-802.21/C/MIH_C_primitive_codec.o