Well, most compilers will allow you to specify extra directories for include files. For example, with gcc, it's:
gcc -I/new/path/to/include source.cpp
So, you may be able to specify them like that. If it gets to be a lot to type, I'd strongly suggest using GNU make, it'll make your life a lot easier (no pun intended) when compiling files. Do man make on your machine to see if you have it, if not you can get it from
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.