summaryrefslogtreecommitdiffhomepage
path: root/digital/mimot/src/dirty/Makefile
blob: 979aae7e818bcaf639e6feb3a3946b0b281ce596 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
BASE = ../../../avr
PROGS = dirty
dirty_SOURCES = main.c timer.avr.c counter_ext.avr.c pwm.avr.c \
		pwm_ocr.avr.c pos.c speed.c aux.c \
		twi_proto.c eeprom.avr.c state.c \
		simu.host.c motor_model.host.c models.host.c
MODULES = proto uart utils math/fixed twi
CONFIGFILE = avrconfig.h
# atmega8, atmega8535, atmega128...
AVR_MCU = atmega32
# -O2 : speed
# -Os : size
OPTIMIZE = -Os
HOST_LIBS = -lm

include $(BASE)/make/Makefile.gen