Ignore:
Timestamp:
Jan 21, 2020, 12:54:37 AM (5 years ago)
Author:
dubos
Message:

simple_physics : DYNAMICO driver

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dynamico_lmdz/simple_physics/bash/makedeps.sh

    r4234 r4235  
    33# input file $1 is output of bash/concatenate_all_code.sh, see phyparam/Makefile
    44
    5 function find_use()
     5function print_deps()
    66{
    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" }'
    88}
    99
    10 cat $1 | find_use
     10grep '\bUSE\b' $1 | grep -i -v 'INTRINSIC' | grep -i -v '\bEND\b' | print_deps
Note: See TracChangeset for help on using the changeset viewer.