gnupic: Re: [gnupic] Adding a DATE macro to gpsim
Subject:
Re: [gnupic] Adding a DATE macro to gpsim
From:
Peter Onion ####@####.####
Date:
19 Apr 2005 09:36:19 +0100
Message-Id: <1113899748.7612.6.camel@ratbert.alien.bt.co.uk>
On Tue, 2005-04-19 at 19:45 -0500, Craig Franklin wrote:
> gpasm could be modified to add this feature, but it is simple enough to
> incorporate it into your Makefile. Use "date +%y%m%d" to generate the
> value and "sed -e 's%\@DATE\@%$(DATE)%g' time.asm.in > time.asm" to
> replace the value. I haven't tested these, but it should be close
> enough for you to figure out.
I prefere the "modify gpasm" approach because I don't need the
complexity of make to build my PIC code.
Peter