title: local header files available in the project but make gives No such file or directory error
body: <p>From entire day I am trying to install OverSim [<a href="http://www.oversim.org/wiki/OverSimInstall]" rel="nofollow noreferrer">http://www.oversim.org/wiki/OverSimInstall]</a> 
  The make file looks like this:</p>
  
  <pre><code>all: checkmakefiles
      cd src &amp;&amp; $(MAKE)
  
  clean: checkmakefiles
      cd src &amp;&amp; $(MAKE) clean
  
  cleanall: checkmakefiles
      cd src &amp;&amp; $(MAKE) MODE=release clean
      cd src &amp;&amp; $(MAKE) MODE=debug clean
      rm -f src/Makefile
  
  makefiles:
      cd src &amp;&amp; opp_makemake -f --deep --make-so -o inet -O out $$NSC_VERSION_DEF
  
  checkmakefiles:
      @if [ ! -f src/Makefile ]; then \
      echo; \
      echo '======================================================================='; \
      echo 'src/Makefile does not exist. Please use "make makefiles" to generate it!'; \
      echo '======================================================================='; \
      echo; \
      exit 1; \
      fi
  
  doxy:
      doxygen doxy.cfg
  
  tcptut:
      cd doc/src/tcp &amp;&amp; $(MAKE)
  </code></pre>
  
  <p>I am using Omnet5.1.1 as omnet4.2.2 is not supported on Ubuntu16.04, my gcc version is 5.4.1. </p>
  
  <p>Every time I try to build this make all, it gives header file not found error where as in actual the header files are present inside the project directory.</p>
  
  <pre><code>In file included from applications/ethernet/EtherAppCli.cc:21:0:
  applications/ethernet/EtherAppCli.h:21:22: fatal error: INETDefs.h: No such file or directory
  </code></pre>
  
  <p>The includes are done like this:</p>
  
  <pre><code>#include "INETDefs.h" //available at src/linklayer/contract/
  #include "MACAddress.h" //available at src/base/
  </code></pre>
  
  <p>project structure:</p>
  
  <p><a href="https://i.stack.imgur.com/KFn0c.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KFn0c.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/H7gDg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/H7gDg.png" alt="enter image description here"></a></p>
  
  <p>How could I resolve this build error?</p>