From ff7774def5479996e2acb77ddd942c036134453d Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Sat, 20 May 2017 20:59:52 +0200 Subject: Fix number format, coding style and improved test program --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e8d2720..e63d2c0 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,7 @@ +FLAGS=-Wall -I/usr/lib/gcc/avr/6.3.0/plugin/include/ -I/usr/avr/include -mmcu=attiny13 -O3 -DF_CPU=1200000 + all: - avr-gcc -Wall -mmcu=attiny85 -O3 -o main.elf main.c + avr-gcc $(FLAGS) -o main.elf main.c avr-objcopy -j .text -j .data -O ihex main.elf main.hex program: all -- cgit v1.2.3