db32f6c6ab834c88dceba94cdc2dd37fd6cfcb87
[paraslash.git] / depend.sh
1 #!/bin/sh
2 dir="$1"
3 shift
4 gcc -MM -MG "$@" | sed -e "s@^\(.*\)\.o:@$dir/\1.d $dir/\1.o:@"