avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] Make file to recursivly generate code for more than


From: Anton Erasmus
Subject: Re: [avr-gcc-list] Make file to recursivly generate code for more than one target ?
Date: Thu, 03 Jun 2004 22:54:09 +0200

On 2004/06/02 at 04:45 Sander Pool wrote:

>An easy way would be to wrap your makefile into a shell script that sets
>the
>MCU type and calls make as often as required ?
>
>----- Original Message -----
>From: "Anton Erasmus" <address@hidden>
>To: <address@hidden>
>Sent: Wednesday, June 02, 2004 1:56 PM
>Subject: [avr-gcc-list] Make file to recursivly generate code for more than
>one target ?
>
>
>Hi,
>
>Does anyone have a nice example of a makefile that can generate code
>for more than one target ? On one PCB I can use either the ATMega16 or
>ATMega32.
>I want my makefile to generate a target_16.rom and a target_32.rom every
>time I
>build the code.
>For library code it would also be nice to be able to build the library for
>all possible
>AVR targets with one make command.

Hi,

I would prefer not to use a shell script, as I am sure that one can do this with
only the makefile itself.

Regards
  Anton Erasmus



reply via email to

[Prev in Thread] Current Thread [Next in Thread]