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: Sander Pool
Subject: Re: [avr-gcc-list] Make file to recursivly generate code for more than one target ?
Date: Wed, 2 Jun 2004 16:45:24 -0700

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.

Regards
   Anton Erasmus





reply via email to

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