Mercurial > ~darius > hgwebdir.cgi > tempctrl
annotate Makefile @ 78:006a99b406dd
Modify comment to match reality.
author | darius@Inchoate |
---|---|
date | Wed, 21 Jan 2009 22:52:15 +1030 |
parents | e3d1f56ba0c8 |
children |
rev | line source |
---|---|
74 | 1 PROG= tempctrl |
2 SRCS= 1wire.c cons.c tempctrl.c main.c ds1307.c | |
14 | 3 |
24 | 4 MCU= atmega32 |
5 PART= m32 | |
36
e40e919721b0
Conditionalise USB support, use DWARF debugging as AVR studio groks
darius
parents:
24
diff
changeset
|
6 CFLAGS+=-O2 -Wall -gdwarf-2 |
e40e919721b0
Conditionalise USB support, use DWARF debugging as AVR studio groks
darius
parents:
24
diff
changeset
|
7 #CFLAGS+=-Wunreachable-code |
24 | 8 CFLAGS+=-DF_CPU=16000000 |
9 #CFLAGS+= -mcall-prologues -frename-registers -fstrict-aliasing -fnew-ra | |
36
e40e919721b0
Conditionalise USB support, use DWARF debugging as AVR studio groks
darius
parents:
24
diff
changeset
|
10 |
41 | 11 #CFLAGS+=-DOW_DEBUG |
12 | |
13 #PROGTYPE=alf | |
14 #PROGPORT=/dev/ppi0 | |
15 PROGTYPE=dragon_jtag | |
16 PROGPORT=usb | |
39 | 17 PROGOPTS=-p ${PART} -c ${PROGTYPE} -E vcc,noreset -q -P ${PROGPORT} |
18 | |
2 | 19 .include "Makefile.avr" |