From: Andre Noll Date: Thu, 1 Oct 2009 00:08:20 +0000 (+0200) Subject: Add the depend.sh script. X-Git-Tag: v0.4.0~18 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=4032abf700b34a9c76cc5b0fafa195ddf0e9993c Add the depend.sh script. Oops, this should already have been included two commits ago.. --- diff --git a/depend.sh b/depend.sh new file mode 100755 index 00000000..db32f6c6 --- /dev/null +++ b/depend.sh @@ -0,0 +1,4 @@ +#!/bin/sh +dir="$1" +shift +gcc -MM -MG "$@" | sed -e "s@^\(.*\)\.o:@$dir/\1.d $dir/\1.o:@"