annotate Makefile @ 32:b0cb873c0206

Isolate the bus frobbing parts and the delays into a separate header. This means the user only has to edit a single file to suit their situation and allows the code to work with active drive systems as well as passive pullups (ie 1 vs 2 IO pins)
author darius
date Sun, 23 Apr 2006 22:57:16 +0930
parents 2b0ed085b95b
children e40e919721b0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14
a9d493261c6c - Add $Id$
darius
parents: 9
diff changeset
1 #
a9d493261c6c - Add $Id$
darius
parents: 9
diff changeset
2 # $Id$
a9d493261c6c - Add $Id$
darius
parents: 9
diff changeset
3 #
0
ffeab3c04e83 Initial revision
darius
parents:
diff changeset
4
14
a9d493261c6c - Add $Id$
darius
parents: 9
diff changeset
5 PROG= testavr
24
2b0ed085b95b - Change to 38400 baud.
darius
parents: 18
diff changeset
6 SRCS= 1wire.c testavr.c usb.c
14
a9d493261c6c - Add $Id$
darius
parents: 9
diff changeset
7
24
2b0ed085b95b - Change to 38400 baud.
darius
parents: 18
diff changeset
8 MCU= atmega32
2b0ed085b95b - Change to 38400 baud.
darius
parents: 18
diff changeset
9 PART= m32
2b0ed085b95b - Change to 38400 baud.
darius
parents: 18
diff changeset
10 CFLAGS+=-O2 -g -Wall -Wunreachable-code
2b0ed085b95b - Change to 38400 baud.
darius
parents: 18
diff changeset
11 CFLAGS+=-DF_CPU=16000000
2b0ed085b95b - Change to 38400 baud.
darius
parents: 18
diff changeset
12 #CFLAGS+= -mcall-prologues -frename-registers -fstrict-aliasing -fnew-ra
2
288d801a47ff Use nicer build framework.
darius
parents: 0
diff changeset
13 .include "Makefile.avr"