aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..e8d2720
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,6 @@
1all:
2 avr-gcc -Wall -mmcu=attiny85 -O3 -o main.elf main.c
3 avr-objcopy -j .text -j .data -O ihex main.elf main.hex
4
5program: all
6 avrdude -B100 -p t85 -c avrisp2 -P usb -U flash:w:main.hex
..