If you're wanting to write it to learn more perl and C++, then have fun. But if you're just interested in having a tool to do the job, you might want to download gcc--it already has a command-line option to generate dependency files (the -M series, IIRC). If your format constraints are particular enough you could follow it with a perl script to clean it up.
...roboticus
In reply to Re: Generate dep file from CPP file- to use with nmake
by roboticus
in thread Generate dep file from CPP file- to use with nmake
by Noame
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |