source: dynamico_lmdz/simple_physics/bash/makedeps.sh @ 4235

Last change on this file since 4235 was 4235, checked in by dubos, 5 years ago

simple_physics : DYNAMICO driver

  • Property svn:executable set to *
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
5function print_deps()
6{
7    tr ',' ' ' | awk '{print "obj/" $1 ".o : " "obj/" $4 ".o" }'
8}
9
10grep '\bUSE\b' $1 | grep -i -v 'INTRINSIC' | grep -i -v '\bEND\b' | print_deps
Note: See TracBrowser for help on using the repository browser.