summaryrefslogtreecommitdiff
path: root/digital/mimot/src/dirty/Makefile
blob: 55c3e894ff2bf07dbeaefcecd48b6842d1085c79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
BASE = ../../../avr
PROGS = dirty
dirty_SOURCES = main.c timer.avr.c \
		aux.c cs.c \
		twi_proto.c eeprom.avr.c seq.c \
		simu.host.c models.host.c
MODULES = proto uart utils math/fixed twi \
	  motor/encoder motor/encoder/ext motor/output motor/output/pwm_ocr \
	  motor/control_system motor/speed_control motor/pos_control \
	  motor/blocking_detection motor/motor_model
CONFIGFILE = avrconfig.h
# atmega8, atmega8535, atmega128...
AVR_MCU = atmega32
# -O2 : speed
# -Os : size
OPTIMIZE = -Os
HOST_LIBS = -lm

include $(BASE)/make/Makefile.gen