Hi,

Here's how the test case:

1. Create the following directory tree:

|--include/config.h (may be empty)
|--source/config.h (may be empty)
\--dbgcnt.c (contains only '#include "config.h"')


2. Go to directory "source" and execute the following commands:
gcc -M -I../include -I. ../dbgcnt.c
gcc -M -I. -I../include ../dbgcnt.c


Result on my system:
dbgcnt.o: ../dbgcnt.c ../include/config.h


Is this the expected result or smth is wrong?


Regards,
Angel Tsankov 



Reply via email to