Hello, I would like to write Perl script to generate dependencies files based on cpp files. The script have to run on all *.cpp files under current directory and for each of them to retrieve his dependencies list. The script should to look for the other header files according to $INCLUDE variable. Finally, the script should to write the result to make.dep (namke format) file as describe below .\FILE1.CPP : \ "..\..\inc\ADVISOR.H"\ "..\..\inc\audittrail.h"\ "..\..\inc\Cimr.h"\ .\FILE2.CPP : \ "..\..\inc\corba\corbastructdefs.h"\ "..\..\inc\DBFCLASS.H"\ "..\..\INC\dbfs.h"\ .\FILE3.CPP : \ "..\..\INC\dbfs_c_struct.h"\ "..\..\inc\dynadbfs.h"\ "..\..\inc\errorlog.h"\ "..\..\INC\FSP.H"\ The file.dep will include information about all the *.cpp files under the current directory.I need to automatically build the list of dependency files, for nmake so I don't need to recompile everything when I change a header file. Please let me know if you have any script to implement it, or any algorithm to perform it.... Thank you for your help, Jona.