fixed makedepend.clang and makedepend.gcc scripts

This commit is contained in:
Guenter Obiltschnig 2017-03-11 18:50:57 +01:00
parent 20e2313881
commit a758876285
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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