[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] missing xversion.h



Am 16.05.2010, 23:31 Uhr, schrieb Helmut Karlowski <helmut.karlowski@ish.de>:

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