projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fae8095
)
Add the depend.sh script.
author
Andre Noll
<maan@systemlinux.org>
Thu, 1 Oct 2009 00:08:20 +0000
(
02:08
+0200)
committer
Andre Noll
<maan@systemlinux.org>
Thu, 1 Oct 2009 00:08:20 +0000
(
02:08
+0200)
Oops, this should already have been included two commits ago..
depend.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/depend.sh
b/depend.sh
new file mode 100755
(executable)
index 0000000..
db32f6c
--- /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:@"