source:
dynamico_lmdz/simple_physics/bash/makedeps.sh
@
4235
Last change on this file since 4235 was 4235, checked in by , 5 years ago | |
---|---|
|
|
File size: 266 bytes |
Line | |
---|---|
1 | #!/bin/bash |
2 | |
3 | # input file $1 is output of bash/concatenate_all_code.sh, see phyparam/Makefile |
4 | |
5 | function print_deps() |
6 | { |
7 | tr ',' ' ' | awk '{print "obj/" $1 ".o : " "obj/" $4 ".o" }' |
8 | } |
9 | |
10 | grep '\bUSE\b' $1 | grep -i -v 'INTRINSIC' | grep -i -v '\bEND\b' | print_deps |
Note: See TracBrowser
for help on using the repository browser.