This commit is contained in:
commit
47aee91ef4
396 changed files with 32003 additions and 0 deletions
18
tools/Perl/pl/dep.pl
Normal file
18
tools/Perl/pl/dep.pl
Normal file
|
@ -0,0 +1,18 @@
|
|||
# main
|
||||
#{
|
||||
($InFile,$OutFile,$ObjFile)=@ARGV;
|
||||
|
||||
$OutFile=">$OutFile";
|
||||
|
||||
open(InFile) || die "Can't open in file $InFile; $!";
|
||||
open(OutFile) || die "Can't open in file $OutFile; $!";
|
||||
|
||||
while (<InFile>)
|
||||
{
|
||||
s/^.*\.obj.*:\w*.*\.cpp/$ObjFile:/g;
|
||||
print (OutFile $_);
|
||||
}
|
||||
|
||||
close(OutFile);
|
||||
close(InFile);
|
||||
#}
|
Loading…
Add table
Add a link
Reference in a new issue