avr-crypto-lib/avr-makefile.inc

24 lines
606 B
PHP
Raw Normal View History

2008-04-05 17:57:46 +00:00
OBJ = $(SERPENT_OBJ)
2008-04-11 17:54:24 +00:00
MCU_TARGET = atmega644
2008-04-05 17:57:46 +00:00
OPTIMIZE = -Os
DEFS = -D$(call uc, $(MCU_TARGET))
FLASHCMD = avrdude -p $(MCU_TARGET) -P /dev/ttyUSB0 -c avr911 -U flash:w:# no space at the end
2008-04-05 17:57:46 +00:00
#uisp -dprog=bsd -dlpt=/dev/parport1 --upload if=$(PRG).hex
ERASECMD =
CC = avr-gcc
2008-05-26 19:13:21 +00:00
override CFLAGS = -MMD -pedantic -std=c99 -Wall -Wstrict-prototypes $(OPTIMIZE) -mmcu=$(MCU_TARGET) $(DEFS)
2008-04-11 17:54:24 +00:00
2008-04-05 17:57:46 +00:00
override LDFLAGS = -Wl,-Map,
override ASFLAGS = -mmcu=$(MCU_TARGET)
SIZESTAT_FILE = sizestats.txt
2008-04-05 17:57:46 +00:00
OBJCOPY = avr-objcopy
OBJDUMP = avr-objdump
SIZE = avr-size
2008-05-26 19:13:21 +00:00
RUBY = ruby