From 4032abf700b34a9c76cc5b0fafa195ddf0e9993c Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Thu, 1 Oct 2009 02:08:20 +0200 Subject: [PATCH] Add the depend.sh script. Oops, this should already have been included two commits ago.. --- depend.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 depend.sh 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:@" -- 2.39.2