diff --git a/build/script/makedepend.clang b/build/script/makedepend.clang index 95846964c..9375e9f8d 100755 --- a/build/script/makedepend.clang +++ b/build/script/makedepend.clang @@ -28,4 +28,4 @@ else CLANG=clang++ fi -$CLANG -MM $@ $source | sed "s#\(.*\.o$\)#$dir1/\1 $dir2/\1 $dir3/\1 $dir4/\1#" >$target +$CLANG -MM $@ $source | sed "s#\(.*\.o\):#$dir1/\1 $dir2/\1 $dir3/\1 $dir4/\1:#" >$target diff --git a/build/script/makedepend.gcc b/build/script/makedepend.gcc index 0653c1769..4ceef945a 100755 --- a/build/script/makedepend.gcc +++ b/build/script/makedepend.gcc @@ -21,4 +21,4 @@ shift dir4=$1 shift -$CC -MM $@ $source | sed "s#\(.*\.o$\)#$dir1/\1 $dir2/\1 $dir3/\1 $dir4/\1#" >$target +$CC -MM $@ $source | sed "s#\(.*\.o\):#$dir1/\1 $dir2/\1 $dir3/\1 $dir4/\1:#" >$target