repo.or.cz
/
Arachnida.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove status_ member
[Arachnida.git]
/
project
/
gnu
/
depend.sh
blob
f7d1634614232a32ba2ba88e131cd150838ea847
1
#! /bin/bash
2
case
"
$1
"
in
3
-c
)
4
CC
=
gcc
5
shift
1
6
;;
7
-cxx
)
8
CC
=
g
++
9
shift
1
10
;;
11
*)
12
CC
=
gcc
13
;;
14
esac
15
DIR
=
"
$1
"
16
shift
1
17
case
"
$DIR
"
in
18
""
|
"."
)
19
$CC
-M -MP
"$@"
|
sed
-e
's@^\(.*\)\.o:@\1.d \1.lo:@'
20
;;
21
*)
22
$CC
-M -MP
"$@"
|
sed
-e
"s@^\(.*\)\.o:@
$DIR
/\1.d
$DIR
/\1.lo:@"
23
;;
24
esac
25