« Return to Thread: Need a make guru; embedding web pages

Re: Need a make guru; embedding web pages

by David Kelly :: Rate this Message:

| View in Thread

On Tue, Aug 30, 2011 at 02:41:38PM -0500, David Kelly wrote:
>
> Then in your Makefile add a pattern rule:
>
> %.html : %.o
> avr-objcopy -B elf $< $@

OK, the above should probably be:

.SUFFIXES .html

%.html : %.o
        avr-objcopy -I binary -B avr -O elf32-avr $< $@

And the symbolic references generated will be
_binary_<sourcefile>_[start|size|end]

(use avr-nm to list)

--
David Kelly N4HHE, dkelly@...
========================================================================
Whom computers would destroy, they must first drive mad.

_______________________________________________
AVR-chat mailing list
AVR-chat@...
https://lists.nongnu.org/mailman/listinfo/avr-chat

 « Return to Thread: Need a make guru; embedding web pages