c++ - Describing header file locations in makefile -


I am working in a new project I have the following dir structure:

  Project_base | ---- src | ---- Bin | ---- h. In the Mac Files  

and in my source files, I also see:

  #include "../h/SomeHeaderFile.h"  < / Pre> 

In addition to the more correct form:

  # Include "SomeHeaderFile.h"  

What do I need to do to my Is the makefile so much that I can remove the relative path so that they look normal?


Extra: Also, where do I set it in CDT (C ++ for Eclipse) so that it is also reflected in design time?

You can enter -i ../ h Need to add.


Comments