repo.or.cz
/
WRF.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge remote-tracking branch 'origin/release-v4.5'
[WRF.git]
/
tools
/
danger
blob
a9de33f6fd30cfeefdca139e8d2b3594e3d788a5
1
#!/bin/csh
2
3
# strip all the dependencies out of the makefiles so it compiles quicker
4
5
if
( !
-d
tools
)
then
6
echo
'must be run in top level dir'
7
endif
8
9
tools
/
safe
>& /
dev
/
null
10
foreach f
( */
Makefile
)
11
/
bin
/
mv
$f $f
.saved
12
cat
$f
.saved |
sed
'/ DEPENDENCIES/,
$d
'
>
$f
13
end
14