blob: 8ac277b7d42ebef017db013e6d2b3a8786752500 (
plain) (
tree)
|
|
CC = avr-gcc
CFLAGS = -Wall -Werror -mmcu=avr25 -D__AVR_ATtiny828__
OBJCOPY = avr-objcopy
all: tamper.hex
%.elf: %.c
$(CC) $(CFLAGS) -o $@ $^
%.hex: %.elf
$(OBJCOPY) -O ihex $< $@
clean:
-rm *.o *.elf *.hex
|