diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
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 @@ | |||
1 | all: | ||
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 | |||
5 | program: all | ||
6 | avrdude -B100 -p t85 -c avrisp2 -P usb -U flash:w:main.hex | ||