mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-26 13:15:29 -04:00
27 lines
651 B
Tcsh
27 lines
651 B
Tcsh
#!/bin/csh
|
|
#
|
|
# $Id$
|
|
#
|
|
# ! RJH ... This utility should no longer be necessary (10/95)
|
|
#
|
|
# This utility should safley find all files with
|
|
# 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 "{}" ";"
|
|
|