Parent Directory
|
Revision Log
|
Revision Graph
factored out from test cases
1 | utke | 1.1 | #!/bin/csh -f |
2 | set file=${1:r} | ||
3 | set awkScript=${2} | ||
4 | awk -f ${awkScript} ${file}.h | grep -v mpif.h > ${file}.h_temp | ||
5 | shift | ||
6 | shift | ||
7 | foreach name ($*) | ||
8 | cat ${file}.h_temp | grep -v ${name}.h > ${file}.h_t1 | ||
9 | mv ${file}.h_t1 ${file}.h_temp | ||
10 | end | ||
11 | echo ' USE '${file}'_mod' >> ${file}.h_temp | ||
12 | mv ${file}.h_temp ${file}_mod.h |
ViewVC Help | |
Powered by ViewVC 1.1.22 |