NWChem/contrib/Fixinclude

28 lines
651 B
Text
Raw Permalink Normal View History

1995-05-06 00:25:43 +00:00
#!/bin/csh
#
# $Id$
1995-12-09 00:25:30 +00:00
#
1996-07-19 18:52:18 +00:00
# ! RJH ... This utility should no longer be necessary (10/95)
1995-05-06 00:25:43 +00:00
#
1996-07-19 18:55:45 +00:00
# This utility should safley find all files with
1995-05-06 00:25:43 +00:00
# a particular include file and set things up for
# a normal make pass. It is very conservative.
#
# RA Kendall PNL 4/95
#
# flaws:
# 1) trashes all includes
# 2) recompiles global
# 3) recompiles part tcgmsg
#
foreach include_file ($argv)
echo " searching for files with ........................... $include_file"
set list = `find . -name "*.F" -exec grep -l $include_file "{}" ";" `
foreach file ($list)
echo "touch $file "
touch $file
end
end
find . -name "*stamp" -exec rm "{}" ";"