Thanks, the link is interesting but despite my efforts I still can't figure out how to set up the advanced compiler options properly to suit my needs...
I try to explain my situation better.
First of all I am using the last cb+mingw. I need to write modules for Synthedit, they are pretty DLLs.
They contain regular .cpp and .h files plus three special files: one .rc, one resource.h and one .xml. The .rc includes resource.h (here cb can still create a dependency) but it also refers to the xml file with some strange macros I am not very familiar with:
IDR_GMPXML1 GMPXML "test.xml"
Everything compiles fine and works even if I ignore the inner workings of that .rc source.
Anyway the object (resource ?) Test.res generated by the three files must depend by the .xml file aswell,.so that everytime I have to modify the xml (a frequent task) only the test.rc object will be compiled, while now I have to rebuild the whole project! Can you help me ?