diff options
Diffstat (limited to 'makedeps.pl')
-rw-r--r-- | makedeps.pl | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/makedeps.pl b/makedeps.pl deleted file mode 100644 index 8956e81..0000000 --- a/makedeps.pl +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env perl - -use strict; -use warnings; - -open my $fh, ">", "deps.mk"; -print $fh "# This file is generated by makedeps.pl.\n"; -while (my $f = glob("c/*.cpp")) { - open my $gh, "<", $f; - $f =~ s,^c/,,; - $f =~ s/\.cpp$//; - print $fh "b/$f.obj: c/$f.cpp"; - while ($_ = <$gh>) { - next if /^$/; - goto n if not /#/; - print $fh " c/$1" if /^#include\s+"([^"]+)"/; - } - n: - print $fh "\n"; -} |