Permalink
Browse files

Replace a GNUmake idiom with the portable equivalent.

  • Loading branch information...
1 parent 020eeea commit a0eeadff239a26fc6e3be84b50090ce5f52d9c57 @SaberUK SaberUK committed with attilamolnar Dec 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 make/calcdep.pl
View
@@ -225,7 +225,7 @@ ($$$)
gendep $file;
print MAKE "$out: $file $f2dep{$file}\n";
- print MAKE "\t@\$(SOURCEPATH)/make/unit-cc.pl $type\$(VERBOSE) \$\@ \$< \$>\n";
+ print MAKE "\t@\$(SOURCEPATH)/make/unit-cc.pl $type\$(VERBOSE) \$\@ \$(SOURCEPATH)/src/$file \$>\n";
}
sub dep_so($) {
@@ -236,7 +236,7 @@ ($)
if ($ENV{SPLIT_CC}) {
dep_cpp $file, $split, 'gen-o';
print MAKE "$out: $split\n";
- print MAKE "\t@\$(SOURCEPATH)/make/unit-cc.pl link-so\$(VERBOSE) \$\@ \$< \$>\n";
+ print MAKE "\t@\$(SOURCEPATH)/make/unit-cc.pl link-so\$(VERBOSE) \$\@ \$(SOURCEPATH)/src/$file \$>\n";
} else {
dep_cpp $file, $out, 'gen-so';
}

0 comments on commit a0eeadf

Please sign in to comment.