Work around FreeBSD setting CPU flags based on architectures
(-march=pentium-m doesn't work so well on AVR)
author |
darius |
date |
Tue, 23 Oct 2007 10:52:50 +0930 |
parents |
2b0ed085b95b |
children |
e40e919721b0 |
rev |
line source |
14
|
1 #
|
|
2 # $Id$
|
|
3 #
|
0
|
4
|
14
|
5 PROG= testavr
|
24
|
6 SRCS= 1wire.c testavr.c usb.c
|
14
|
7
|
24
|
8 MCU= atmega32
|
|
9 PART= m32
|
|
10 CFLAGS+=-O2 -g -Wall -Wunreachable-code
|
|
11 CFLAGS+=-DF_CPU=16000000
|
|
12 #CFLAGS+= -mcall-prologues -frename-registers -fstrict-aliasing -fnew-ra
|
2
|
13 .include "Makefile.avr"
|