aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 0 insertions, 17 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index e81f5a1..0000000
--- a/Makefile
+++ /dev/null
@@ -1,17 +0,0 @@
1FLAGS=-Wall -O5 -Werror
2FLAGS+=-mmcu=attiny85
3FLAGS+=-D__AVR_ATtiny85__=1
4# FLAGS+=-DF_CPU=120000UL
5# FLAGS+=-DF_CPU=960000UL
6FLAGS+=-DF_CPU=800000UL
7FLAGS+=-I inc/int/
8FLAGS+=-I/usr/lib/gcc/avr/6.3.0/plugin/include/
9FLAGS+=-I/usr/avr/include
10
11program: all
12 avrdude -V -B100 -p t85 -c avrisp2 -P usb -U flash:w:main.hex
13
14all:
15 avr-gcc $(FLAGS) -o main.elf main.c inc/int/dcf77.c
16 avr-objcopy -j .text -j .data -O ihex main.elf main.hex
17
..