
Hello Hartmut, Wave executable could have feature for use in makefiles or makefile generators. Often the header dependencies are generated by compiler running in special mode outputting only dependency information. For example: --------------------------------- cc -M -I... -D... foo.c generates output like: foo.o : foo.c foo.h stdlib.h This output is then fed into makefile to correctly deal with rebuilts. --------------------------------- Wave could get this functionality too: invoking wave.exe may be faster or more convenient than running full compiler or a makedepend utility. Most likely output consisting from only space separated dependent headers (no *.obj, no foo.c itself) is the best ouput as the text is futher manipulated. Other possible options could be: * ignore system headers (some compilers have -MM option for this) * ignore STL/Boost headers * ignore the <windows.h> and other MS specific headers * ignore specified directories or names fitting certain pattern * ignore read only headers /Pavel