aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e8d2720..e63d2c0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,7 @@
1FLAGS=-Wall -I/usr/lib/gcc/avr/6.3.0/plugin/include/ -I/usr/avr/include -mmcu=attiny13 -O3 -DF_CPU=1200000
2
1all: 3all:
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
5program: all 7program: all
..