comparison Makefile.avr @ 18:108a703c39e6

Covert to a later version of avr-libc. Stuff like not using inb/outb, etc.. Get the mcu/part right, change includes..
author darius
date Fri, 25 Nov 2005 21:49:56 +1030
parents a9d493261c6c
children 59c7fcf10ea0
comparison
equal deleted inserted replaced
17:a58b41b7d15c 18:108a703c39e6
10 OBJCOPY=avr-objcopy 10 OBJCOPY=avr-objcopy
11 OBJDUMP=avr-objdump 11 OBJDUMP=avr-objdump
12 12
13 CPPFLAGS+=-Wa,-adhlmsn=${<:S/.c/.lst/} 13 CPPFLAGS+=-Wa,-adhlmsn=${<:S/.c/.lst/}
14 14
15 PART?=8515 15 MCU?=at90s8515
16 MCU?=at90s${PART}
17 CFLAGS+=-mmcu=${MCU} 16 CFLAGS+=-mmcu=${MCU}
18 17
19 LDFLAGS+=-Wl,-Map=${PROG}.map,--cref 18 LDFLAGS+=-Wl,-Map=${PROG}.map,--cref
20 LDFLAGS+=${LDADD} 19 LDFLAGS+=${LDADD}
21 20