I've a little problem. I've divided my source files into directories, something like this:
Code: Select all
c:\
OS
main.c
DirectoryA
DirectoryA1
File1.h
File1.c
DirectoryB
DirectoryB1
File2.h
File2.c
DirectoryB2
File3.h
File3.c
Code: Select all
#include "DirectoryA\DirectoryA1\File1.h"
int main(void)
{
return 0;
}
Code: Select all
#include "DirectoryB\DirectoryB1\File2.h"
Code: Select all
#include "..\..\DirectoryB\DirectoryB1\File2.h"
// or
#include "c:\OS\DirectoryB\DirectoryB1\File2.h"
INLCUDE_PATH=c:/OS
GCC_INLCUDE_PATH=c:/OS
but it's not working. Any ideas?