aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMax Christian Pohle2017-05-20 20:59:52 +0200
committerMax Christian Pohle2017-05-20 20:59:52 +0200
commitff7774def5479996e2acb77ddd942c036134453d (patch)
tree9905ba010f540ddcae6249649125fd79f7b4ae7e /Makefile
parente22453c44e0b88f47cd16f6dd1a769bd4ff90203 (diff)
downloadbinwatch-mini-ff7774def5479996e2acb77ddd942c036134453d.tar.bz2
binwatch-mini-ff7774def5479996e2acb77ddd942c036134453d.zip
Fix number format, coding style and improved test program
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
..