diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,7 @@ | |||
1 | FLAGS=-Wall -I/usr/lib/gcc/avr/6.3.0/plugin/include/ -I/usr/avr/include -mmcu=attiny13 -O3 -DF_CPU=1200000 | ||
2 | |||
1 | all: | 3 | all: |
2 | avr-gcc -Wall -mmcu=attiny85 -O3 -o main.elf main.c | 4 | avr-gcc $(FLAGS) -o main.elf main.c |
3 | avr-objcopy -j .text -j .data -O ihex main.elf main.hex | 5 | avr-objcopy -j .text -j .data -O ihex main.elf main.hex |
4 | 6 | ||
5 | program: all | 7 | program: all |