]> git.cryptolib.org Git - avr-crypto-lib.git/blob - avr-makefile.inc
+RC5 +size-statistics tool +small modification to nessie_bc_test (optional free(...
[avr-crypto-lib.git] / avr-makefile.inc
1
2 OBJ = $(SERPENT_OBJ)
3 MCU_TARGET     = atmega644
4 OPTIMIZE       = -Os
5 DEFS           = -D$(call uc, $(MCU_TARGET))
6 FLASHCMD       = avrdude -p $(MCU_TARGET) -P /dev/ttyUSB0 -c avr911 -U flash:w:$(PRG).hex
7 #  -U eeprom:w:$(PRG)_eeprom.hex
8 #uisp -dprog=bsd -dlpt=/dev/parport1 --upload if=$(PRG).hex
9 ERASECMD       = 
10
11 CC           = avr-gcc
12
13 override CFLAGS = -pedantic -std=c99 -Wall -Wstrict-prototypes  $(OPTIMIZE) -mmcu=$(MCU_TARGET) $(DEFS)
14
15 override LDFLAGS       = -Wl,-Map,
16 override ASFLAGS           = -mmcu=$(MCU_TARGET)
17
18 OBJCOPY = avr-objcopy
19 OBJDUMP = avr-objdump
20 SIZE = avr-size
21 RUBY = ruby