Article ID: 119161
Article Last Modified on 8/16/2005
// sample1.cpp #include "sample1.h" // sample2.cpp #include "sample2.h" // sample1.h #ifndef _SAMPLE1_H #define _SAMPLE1_H #include "sample2.h" #include "test1.h" #endif // sample2.h #ifndef _SAMPLE2_H #define _SAMPLE2_H #include "sample1.h" #include "test2.h" #endif // test1.h // nothing required for this sample. // test2.h // nothing required for this sample.The dependencies generated for this .MAK file will be as follows:
SAMPLE1_DEP = \
c:\sample\sample1.h
c:\sample\sample2.h
c:\sample\test2.h
c:\sample\test1.h
SAMPLE2_DEP = \
c:\sample\sample2.h
c:\sample\sample1.h
c:\sample\test2.h
SAMPLE2_DEP should also include c:\sample\test1.h
// sample1.cpp #include "test2.h" #include "sample1.h" // sample2.cpp #include "test1.h" #include "sample2.h" // All other files are unchanged.
Additional query words: 1.00 1.50 1.10
Keywords: kbbug kbfix kbide KB119161