summaryrefslogtreecommitdiff
path: root/src/binwatch/Makefile
blob: dd7404bb3096c961b4b67445ef55c4583093a85b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
BASE = $b/digital/avr
AVR_PROGS = counter binwatch
counter_SOURCES = counter.c led.c button.c power.c
binwatch_SOURCES = binwatch.c led.c rtc.c button.c power.c
MODULES = utils
binwatch_MODULES = utils twi
CONFIGFILE = avrconfig.h
# atmega8, atmega8535, atmega128...
AVR_MCU = attiny85
# -O2 : speed
# -Os : size
OPTIMIZE = -Os

INCLUDES = -I.. -I.
vpath %.c ../common

include $(BASE)/make/Makefile.gen

all: bin