On Wed, 28 Jan 2009 20:33:04 -0500 Preston Wilson <pwil...@scopuli.com> wrote:
> From the error message, I would say you have too much quoting. avr-gcc is > treating the " -DMY_DATE=090129 " (after expansion) as a file. Try it > without the quotes on this line: > CFLAGS+=" -DMY_DATE=`date +%y%m%d` " Thanks Preston. I removed the double quotes, and that's better, now I still get a Make error, but it's further down the line, about the code itself not the Make file. I tried: const char compile_date[12] PROGMEM = MY_DATE ; but this yields : ui.c:43: error: ‘MY_DATE’ undeclared here (not in a function) Undeclared ? Strange, mmmpff.... -- Vince _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list