Changeset 4235 for dynamico_lmdz/simple_physics/bash/makedeps.sh
- Timestamp:
- Jan 21, 2020, 12:54:37 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
dynamico_lmdz/simple_physics/bash/makedeps.sh
r4234 r4235 3 3 # input file $1 is output of bash/concatenate_all_code.sh, see phyparam/Makefile 4 4 5 function find_use()5 function print_deps() 6 6 { 7 grep '\bUSE\b' | grep -i -v '\bEND\b' | tr ',' ' ' | awk '{print "obj/" $1 ".o : " "obj/" $3".o" }'7 tr ',' ' ' | awk '{print "obj/" $1 ".o : " "obj/" $4 ".o" }' 8 8 } 9 9 10 cat $1 | find_use 10 grep '\bUSE\b' $1 | grep -i -v 'INTRINSIC' | grep -i -v '\bEND\b' | print_deps
Note: See TracChangeset
for help on using the changeset viewer.