I think the -nt is wider spread than the GNU(?)-make-specials, and the goal I want to reach is not really essential.
What about this: function create_xversion() { echo $2 D=`date -r $2 "+%b %e %Y %H:%M"` echo \#define BDATETIME \"$D\" >$1 } FILES=`ls -t *.c *.h` create_xversion xversion.h $FILES -- Helmut Karlowski