title: Access global variable value in different .c files present in different paths
body: <p>I have 2 files: <code>Sod/iload/iload.c</code> and
  <code>Item/itemrule/itemrule.c</code>, and I want to access a variable defined in iload.c which is defined in itemrule.c.</p>
  
  <p>To do this, I made and defined a global variable in iload.c, and I tried to access this variable in itemrule .c with the extern keyword, but it is always 0.</p>
  
  <p>I'm worried that it might be because the files have different paths, does anyone know how I can access this variable?</p>