Last change
on this file since 5444 was
4728,
checked in by idelkadi, 15 months ago
|
Update of ecrad in the LMDZ_ECRad branch of LMDZ:
- version 1.6.1 of ecrad
- files are no longer grouped in the same ecrad directory.
- the structure of ecrad offline is preserved to facilitate updating in LMDZ
- cfg.bld modified to take into account the new added subdirectories.
- the interface routines and those added in ecrad are moved to the phylmd directory
|
-
Property svn:executable set to
*
|
File size:
737 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | # |
---|
3 | # (C) Copyright 2015- ECMWF. |
---|
4 | # |
---|
5 | # This software is licensed under the terms of the Apache Licence Version 2.0 |
---|
6 | # which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. |
---|
7 | # |
---|
8 | # In applying this licence, ECMWF does not waive the privileges and immunities |
---|
9 | # granted to it by virtue of its status as an intergovernmental organisation |
---|
10 | # nor does it submit to any jurisdiction. |
---|
11 | |
---|
12 | |
---|
13 | EXT="parkind1.o|yomhook.o|yomcst.o|yomdyncore.o|yomlun.o|abor1.o|yomtag.o|mpl_module.o|yommp0.o" |
---|
14 | |
---|
15 | while [ "$1" ] |
---|
16 | do |
---|
17 | DEPS=$(egrep -i '^[ \t]*use' $1 | awk '-F[ ,]' '{print $2".o"}' | tr '[:upper:]' '[:lower:]' | egrep -v "$EXT" | tr '\n' ' ') |
---|
18 | if [ "$DEPS" ] |
---|
19 | then |
---|
20 | echo $1 | awk -F. '{print $1"'".o: $DEPS"'"}' |
---|
21 | fi |
---|
22 | shift |
---|
23 | done |
---|
Note: See
TracBrowser
for help on using the repository browser.