Mercurial > ~darius > hgwebdir.cgi > tempctrl
view Makefile @ 36:e40e919721b0
Conditionalise USB support, use DWARF debugging as AVR studio groks
it.
author | darius |
---|---|
date | Tue, 23 Oct 2007 10:55:51 +0930 |
parents | 2b0ed085b95b |
children | 599d013ce3f2 |
line wrap: on
line source
# # $Id$ # PROG= testavr SRCS= 1wire.c testavr.c .if defined(WITHUSB) SRCS+= usb.c CFLAGS+=-DWITHUSB .endif MCU= atmega32 PART= m32 CFLAGS+=-O2 -Wall -gdwarf-2 #CFLAGS+=-Wunreachable-code CFLAGS+=-DF_CPU=16000000 #CFLAGS+= -mcall-prologues -frename-registers -fstrict-aliasing -fnew-ra .include "Makefile.avr"