Fixed things up with header file dependencies in the makes ystem
[akaros.git] / scripts / mergedep.pl
old mode 100755 (executable)
new mode 100644 (file)
index 1730d53..4691742
@@ -30,7 +30,9 @@ sub readdeps {
        open(DEPFILE, $filename) or return 0;
        while (<DEPFILE>) {
                if (/([^:]*):([^\\:]*)([\\]?)$/) {
-                       my $target = $1;
+                       my $target = $filename;
+                       chop($target);
+                       $target = $target . "o";
                        my $deplines = $2;
                        my $slash = $3;
                        while ($slash ne '') {